Module ssdp::header [] [src]

Headers and primitives for parsing headers within SSDP requests.

This module combines abstractions at both the HTTPU/HTTPMU layer and SSDP layer in order to provide a cleaner interface for extending the underlying HTTP parsing library.

Structs

BootID

Represents a header used to denote the boot instance of a root device.

CacheControl

Cache-Control header, defined in RFC7234

ConfigID

Represents a header used to denote the configuration of a device's DDD.

Location

Location header, defined in RFC7231

MX

Represents a header used to specify the maximum time that devices should wait before sending a response.

Man

Represents a header used to specify HTTP extension.

NT

Represents a header used to specify a notification type.

SearchPort

Represents a header used to specify a unicast port to send search requests to.

SecureLocation

Represents a header used to specify a secure url for a device's DDD.

Server

Server header, defined in RFC7231

USN

Represents a header which specifies a unique service name.

Enums

CacheDirective

CacheControl contains a list of these directives.

NTS

Represents a header which specifies a notification sub type.

ST

Represents a header which specifies the search target.

Traits

HeaderMut

Trait for manipulating the contents of a header structure.

HeaderRef

Trait for viewing the contents of a header structure.