Serd  0.14.0
Data Fields
SerdURI Struct Reference

#include <serd.h>

Data Fields

SerdChunk scheme
SerdChunk authority
SerdChunk path_base
SerdChunk path
SerdChunk query
SerdChunk fragment

Detailed Description

A parsed URI.

This struct directly refers to chunks in other strings, it does not own any memory itself. Thus, URIs can be parsed and/or resolved against a base URI in-place without allocating memory.

Field Documentation

SerdChunk SerdURI::scheme

Scheme.

SerdChunk SerdURI::authority

Authority.

SerdChunk SerdURI::path_base

Path prefix if relative.

SerdChunk SerdURI::path

Path suffix.

SerdChunk SerdURI::query

Query.

SerdChunk SerdURI::fragment

Fragment.


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