Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

The components of a URL. More...

#include <zephyr/net/url.h>

Data Fields

const char * base
 The URL the components are located in.
struct net_url_field scheme
 Scheme, without the "://".
struct net_url_field userinfo
 User information, without the "@".
struct net_url_field host
 Host name or IP literal, without the brackets of an IPv6 literal.
struct net_url_field port
 Port, without the ":".
struct net_url_field path
 Path, up to the "?" or "#".
struct net_url_field query
 Query, without the "?".
struct net_url_field fragment
 Fragment, without the "#".
uint16_t port_value
 Port number, 0 when the URL has none or names port 0 explicitly.

Detailed Description

The components of a URL.

Field Documentation

◆ base

const char* net_url::base

The URL the components are located in.

◆ fragment

struct net_url_field net_url::fragment

Fragment, without the "#".

◆ host

struct net_url_field net_url::host

Host name or IP literal, without the brackets of an IPv6 literal.

◆ path

struct net_url_field net_url::path

Path, up to the "?" or "#".

◆ port

struct net_url_field net_url::port

Port, without the ":".

◆ port_value

uint16_t net_url::port_value

Port number, 0 when the URL has none or names port 0 explicitly.

◆ query

struct net_url_field net_url::query

Query, without the "?".

◆ scheme

struct net_url_field net_url::scheme

Scheme, without the "://".

◆ userinfo

struct net_url_field net_url::userinfo

User information, without the "@".


The documentation for this struct was generated from the following file: