h1_parse (h1 v0.2.1)

View Source

HTTP/1.1 parser facade.

Dispatches to the pure-Erlang implementation in h1_parse_erl. A future NIF-backed implementation can slot in here without changing call sites.

Summary

Types

backend/0

-type backend() :: erl | nif.

Functions

execute(P)

execute(P, Bin)

finish(P)

get(P, Prop)

parse_chunk(Data)

parse_chunk(Data, Max)

parse_request(Data)

parse_request(Data, Opts)

parse_response(Data)

parse_response(Data, Opts)

parse_trailers(Data)

parser()

parser(Opts)