[−][src]Module rocket::http::hyper::header
Reexported Hyper header types.
Structs
| Accept |
|
| AcceptCharset |
|
| AcceptEncoding |
|
| AcceptLanguage |
|
| AcceptRanges |
|
| AccessControlAllowCredentials |
|
| AccessControlAllowHeaders |
|
| AccessControlAllowMethods |
|
| AccessControlExposeHeaders |
|
| AccessControlMaxAge |
|
| AccessControlRequestHeaders |
|
| AccessControlRequestMethod |
|
| Allow |
|
| Authorization |
|
| Basic | Credential holder for Basic Authentication |
| Bearer | Token holder for Bearer Authentication, most often seen with oauth |
| CacheControl |
|
| Connection |
|
| ContentDisposition | A |
| ContentEncoding |
|
| ContentLanguage |
|
| ContentLength |
|
| ContentRange |
|
| ContentType |
|
| Date |
|
| ETag |
|
| EntityTag | An entity tag, defined in RFC7232 |
| Expires |
|
| From |
|
| Headers | A map of header fields on requests and responses. |
| Host | The |
| HttpDate | A |
| IfModifiedSince |
|
| IfUnmodifiedSince |
|
| LastModified |
|
| Location |
|
| Origin | The |
| Prefer |
|
| PreferenceApplied |
|
| Protocol | Protocols that appear in the |
| Quality | Represents a quality used in quality values. |
| QualityItem | Represents an item with a quality value as defined in RFC7231. |
| Referer |
|
| StrictTransportSecurity |
|
| TransferEncoding |
|
| Upgrade |
|
| UserAgent |
|
Enums
| AccessControlAllowOrigin | The |
| ByteRangeSpec | Each |
| CacheDirective |
|
| Charset | A Mime charset. |
| ConnectionOption | Values that can be in the |
| ContentRangeSpec | Content-Range, described in RFC7233 |
| DispositionParam | A parameter to the disposition type |
| DispositionType | The implied disposition of the content of the HTTP body |
| Encoding | A value to represent an encoding used in |
| Expect | The |
| IfMatch |
|
| IfNoneMatch |
|
| IfRange |
|
| Pragma | The |
| Preference | Prefer contains a list of these preferences. |
| ProtocolName | A protocol name used to identify a spefic protocol. Names are case-sensitive
except for the |
| Range |
|
| RangeUnit | Range Units, described in RFC7233 |
| ReferrerPolicy |
|
| Vary |
|
Traits
| Scheme | An Authorization scheme to be used in the header. |
Functions
| q | Convenience function to create a |
| qitem | Convinience function to wrap a value in a |