HTTP11RequestParser
[Source]
class ref HTTP11RequestParser
Constructors
create
[Source]
new ref create(
handler: HTTP11RequestHandler tag)
: HTTP11RequestParser ref^
Parameters
Returns
Public Functions
parse
[Source]
fun ref parse(
data: Array[U8 val] val)
: (NeedMore val | ((TooLarge val | UnknownMethod val | InvalidURI val |
InvalidVersion val | InvalidContentLength val | InvalidTransferCoding val |
InvalidChunk val) & _RequestParseError val) | None val)
Parameters
Returns
reset
[Source]
fun ref reset(
drop_data: Bool val = false,
reset_request: Bool val = false)
: None val
Parameters
- drop_data: Bool val = false
- reset_request: Bool val = false
Returns