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

Functions Http1ReaderBase.finishMessage

1
2
3
4
5
module juptune.http.v1;

Result finishMessage(
    Http1MessageSummary summary
);

Documentation

Acknowledges that the message has been fully read, and returns the summary of the message.

State

This function must be called when the reader is in the finalisestate.

After this function is called, the reader will be in the startLinestate.

Params

Throws

Currently, nothing. This may change in the future if finishing a message requires I/O operations.

Returns

A Resultdescribing if an error ocurred. Any Http1Errorwill contain a valid HTTP error response that can be sent to the client as-is.