Message
http.Message
HTTP message, can be a request or a response
Functions
as_string => String[Redefinition of Any.as_string]¶[src]
String representation of the message header
as_string_with_body(max_body_bytes i64) => outcome String¶[src]
String representation of the whole message, i.e. header and body
body => Unary (choice (Sequence u8) io.end_of_file error) i64[Abstract feature]¶[src]
body of the message, if it has one
NYI: CLEANUP: should probably be possible for body to be
array u8, nil or a specify an LM to read from.
The question is what do we need?
NYI: CLEANUP: should probably be possible for body to be
array u8, nil or a specify an LM to read from.
The question is what do we need?
body_as_string => outcome String¶[src]
get the body of the message as a String
bytes(max_body_bytes i64) => Sequence u8¶[src]
the whole message as a sequence of bytes
header => container.Map String String[Abstract feature]¶[src]
header fields with all lower case
start_line => String[Abstract feature]¶[src]
the start line of the message, for requests it is the request line, for responses the status line
0.099dev (GIT hash e2d5298d8107bb5fe79600fdb06a49bc75756344)