Soletta™ Framework
Framework for making IoT devices

Full online documentation | C API Index
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
sol_http_url Struct Reference

Handle for an HTTP URL. More...

#include <sol-http.h>

Data Fields

struct sol_str_slice fragment
 
struct sol_str_slice host
 
struct sol_str_slice password
 
struct sol_str_slice path
 
uint32_t port
 If set to 0 it'll be ignored. More...
 
struct sol_str_slice query
 
struct sol_str_slice scheme
 
struct sol_str_slice user
 

Detailed Description

Handle for an HTTP URL.

Uniform Resource Locator conforms to the following syntax:

scheme:[//[user:password@]host[:port]][/]path[?query][#fragment]

Field Documentation

struct sol_str_slice sol_http_url::fragment
struct sol_str_slice sol_http_url::host
struct sol_str_slice sol_http_url::password
struct sol_str_slice sol_http_url::path
uint32_t sol_http_url::port

If set to 0 it'll be ignored.

struct sol_str_slice sol_http_url::query
struct sol_str_slice sol_http_url::scheme
struct sol_str_slice sol_http_url::user

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