[][src]Module saphir::http_context

Context enveloping every request <-> response

Structs

HttpContext

Context representing the relationship between a request and a response This structure only appears inside Middleware since the act before and after the request

Enums

State

State of the Http context. It represent whether the context is used Before(..) or After(..) calling the handler responsible of generating a responder. Empty will be the state of a context when the request is being processed by the handler, or when its original state has been moved by using take & take unchecked methods