ExGram.Adapter.Maxwell (ex_gram v0.27.0) View Source
HTTP Adapter that uses Maxwell
Link to this section Summary
Functions
GET http method without request body.
GET! http method without request body.
GET! http method without request body.
POST method.
POST! http method.
POST! http method.
Link to this section Functions
GET http method without request body.
conn
-%Maxwell.Conn{}
Returns {:ok, %Maxwell.Conn{}}
or {:error, reason_term, %Maxwell.Conn{}}
.
GET! http method without request body.
conn
- seeget/1
Returns %Maxwell.Conn{}
or raise %MaxWell.Error{}
when status not in [200..299].
GET! http method without request body.
conn
- seeget/1
normal_statuses
- the specified status which not raise exception, for example: [200, 201]
Returns %Maxwell.Conn{}
or raise %MaxWell.Error{}
.
POST method.
conn
-%Maxwell.Conn{}
.
Returns {:ok, %Maxwell.Conn{}}
or {:error, reason, %Maxwell.Conn{}}
POST! http method.
conn
- seepost/1
Return %Maxwell.Conn{}
or raise %Maxwell.Error{}
when status not in [200.299]
POST! http method.
conn
- seepost/1
normal_statuses
- the specified status which not raise exception, for example: [200, 201]
Returns %Maxwell.Conn{}
or raise %MaxWell.Error{}
.