View Source hex_http behaviour (hex_core v0.10.0)
Link to this section Summary
Link to this section Types
-type body() :: {ContentType :: binary(), Body :: binary()} | undefined.
-type headers() :: #{binary() => binary()}.
-type method() :: get | post | put | patch | delete.
-type status() :: non_neg_integer().