Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Module juptune.http.v1

Aliases

Name Description
Http1Reader

Http1 over an insecure TCP socket.

Http1Writer

Http1 over an insecure TCP socket.

Enums

Name Description
Http1Error

Resulterror enum

Http1Version

An enumeration of supported Http1 versions

Functions

Name Description
http1CanonicalHeaderNameInPlace

Helper functions

http1IsPathValidForMethod

ditto.

http1IsPathValidForMethod

ditto

http1IsPathValidForMethod

Checks whether the given path is valid for the given method, taking into account whether the request is being proxied or not.

isHttp1HeaderValue

Checks if a string is a valid HTTP header value as defined by RFC 9110.

isHttp1Reason

Checks if a string is a valid HTTP status line reason as defined by RFC 9110.

isHttp1Token

Checks if a string is a valid HTTP 'token' as defined by RFC 9110.

makePath

Unit tests

Structs

Name Description
Http1BodyChunk

Contains the contents of a body chunk.

Http1Config

Configuration for the Http1Reader and Http1Writer.

Http1Header

Contains the contents of a header.

Http1MessageSummary

Provides the overall summary of a request/response.

Http1PinnedSlice

A RAII struct that represents a slice of the Http1Reader's buffer that is pinned for user processing.

Http1ReadResponseConfig

Configuration for reading a response.

Http1ReaderBase

A low-level reader for the HTTP/1.0 and HTTP/1.1 protocols, operating directly on a socket.

Http1RequestLine

Contains the contents of a request line.

Http1ResponseLine

Contains the contents of a response line.

Http1WriterBase

A low-level writer for the HTTP/1.0 and HTTP/1.1 protocols.