Private.Parser
val parse_request :
?pos:int ->
?len:int ->
Core.Bigstring.t ->
( Request.t * int, error ) Core.result
Attempts to parse a buffer into a HTTP request. If successful, it returns the parsed request and an offset value that indicates the starting point of unconsumed content left in the buffer.
val parse_chunk_length :
?pos:int ->
?len:int ->
Core.Bigstring.t ->
( int * int, error ) Core.result
val parse_chunk :
?pos:int ->
?len:int ->
Core.Bigstring.t ->
chunk_kind ->
( chunk_parser_result * int, error ) Core.result
module Private : sig ... end