---
name: "SerdURI"
section: "3"
platform: "linux"
package: "libserd-doc"
version: "0.14.0~dfsg0-2"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/SerdURI"
---

# SerdURI(3)

## NAME

SerdURI -

## SYNOPSIS

`#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.

## Author

Generated automatically by Doxygen for Serd from the source code.
