5 Struct N_URL
gullradriel edited this page 2026-10-09 00:55:18 +02:00

N_URL

Module: NETWORK ENGINE: connect, accept, send and recv wrappers. Network Queue, thread-safe add/get message, ssl/tls secured communications

parsed URL components

#include "n_network.h"

Public Attributes

Name
char * scheme
"http" or "https"
char * query
raw query string without leading '?
int port
port number (0 if not specified)
char * path
path starting with "/", or "/" if empty
N_URL_PARAM[64] params
parsed key=value pairs
int nb_params
number of parsed parameters
char * host
hostname

Public Attributes Documentation

variable scheme

char * scheme;

"http" or "https"

variable query

char * query;

raw query string without leading '?

', or NULL

variable port

int port;

port number (0 if not specified)

variable path

char * path;

path starting with "/", or "/" if empty

variable params

N_URL_PARAM[64] params;

parsed key=value pairs

variable nb_params

int nb_params;

number of parsed parameters

variable host

char * host;

hostname