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

n_url_safe

The parts of an absolute http(s) URL. More...

#include "n_url_safe.h"

Public Attributes

Name
uint16_t port
char[1024u+1] path
int https
1 = https (default port 443), 0 = http (80)
char[253u+1] host

Detailed Description

struct n_url_safe;

The parts of an absolute http(s) URL.

host is the bare hostname or IP literal (an IPv6 literal has its brackets stripped); path includes any query, with the fragment dropped and defaulting to "/".

Public Attributes Documentation

variable port

uint16_t port;

variable path

char[1024u+1] path;

variable https

int https;

1 = https (default port 443), 0 = http (80)

variable host

char[253u+1] host;