Witai.Client (witai v0.1.2)

Link to this section Summary

Types

Request_body can be a map or a list

Link to this section Types

Link to this type

request_body()

Specs

request_body() :: map() | list()

Request_body can be a map or a list

Link to this section Functions

Link to this function

decode_body(body, code)

Specs

delete(binary()) :: :ok | :fail
Link to this function

delete(url, req_body)

Specs

delete(binary(), list() | map()) :: :ok | :fail
Link to this function

encode_message(term)

Specs

get(binary()) :: map() | list() | binary()
Link to this macro

is_request_body(body)

(macro)
Link to this function

post(url, req_body)

Specs

post(binary(), map() | list()) :: map() | list()
Link to this function

put(url, req_body)

Specs

put(binary(), map()) :: :ok | :fail