CurlReq.Curl (CurlReq v0.100.1)

View Source

Implements the CurlReq.Request behaviour for a cURL command string

Summary

Functions

Lists supported flags for the cURL command

Functions

flags()

@spec flags() :: [{atom(), atom() | nil}]

Lists supported flags for the cURL command

Examples

iex> flags = CurlReq.Curl.flags()
iex> {:header, :H} in flags
true

iex> flags = CurlReq.Curl.flags()
iex> {:compressed, nil} in flags
true

iex> flags = CurlReq.Curl.flags()
iex> {:foo, nil} in flags
false