ace v0.15.8 Ace.HTTP1.Parser View Source
Incrementally parse an HTTP/1.x request.
Link to this section Summary
Functions
Has the parser consumed and entire HTTP message?
Initial state for the incremental parser
Run the parser aginst a some new input
Link to this section Types
Available options when initializing a new parser
State tracking the progress of the Parser.
Link to this section Functions
Has the parser consumed and entire HTTP message?
Initial state for the incremental parser.
Link to this function
parse(binary, state, parts \\ [])
View Source
parse(String.t(), state(), [Raxx.Server.part()]) :: {:ok, {[Raxx.Server.part()], state()}} | {:error, binary()}
Run the parser aginst a some new input.
This parser returns a list of parts that are in the input and an updated state.