Skip to main content

Crate h11types

Crate h11types 

Source
Expand description

§h11spec core types

These are the core types represented in the yaws h11spec

See the API reference.

Structs§

H11RequestMeta
Used by the server
H11UnknownField
Header field is unknown
HeaderParser
Standalone header parser
NoRequestReceiver
Marker to use when no header receiver is used
NoRequestTargetReceiver
Use to ignore request Target
StatusDesc
Status description
Uri
HTTP URI URI

Enums§

AuthChallenge
Authenticatiob Challenge
H11Connection
HTTP Connection type - RFC 9110 7.6.1
H11Error
H11 Errors
H11Header
HTTP/1.1 RFC 9110 Mandated Headers
H11MaybeValue
Non-validated Header value that may be valid
H11Method
HTTP 1.1 Methods
H11TransferCompression
HTTP Compression scheme
H11TransferEncoding
HTTP Transfer-Encoding
H11Version
HTTP Version
HeaderStatus
Indicative completion status of header parsing
HeaderValidationError
Header validation errors
RequestBodySize
Request sizing
Resp1xx
1xx Rsponses
Resp2xx
2xx Responses
Resp3xx
3xx Responses
Resp4xx
4xx Response
Resp5xx
5xx status indicates that the server is aware that it has encountered an error or is otherwise incapable of performing the request. Except when responding to a HEAD request, the server should include an entity containing an explanation of the error situation, and indicate whether it is a temporary or permanent condition. Likewise, user agents should display any included entity to the user. These response codes are applicable to any request method.
RespComplete
Final response status line relative to Target / Host etc.
RespIndicative
Indicative response relative to Target / Host etc.
ResponseBodySize
Provide the response sizing
StartLineStatus
Indicative completion status of start line parsing

Traits§

HeaderReceiver
Implement to reveive Parsed Headers
RequestBodyReceiver
Implement to receive body
RequestHeaderReceiver
Implement to reveive Request Headers
RequestReceiver
Implement to receive parsed request
RequestTargetReceiver
Implement to receive URI Target
ResponseSender
Implement to provide Response to a request