View Source CalDAVClient.HTTP.Error (caldav_client v2.0.0)

Provides utility functions related with HTTP.

Link to this section Summary

Functions

Converts HTTP response status code as integer into a reason atom (see RFC 7231, section 6.1).

Link to this section Types

Specs

http_status_code() :: integer()

Link to this section Functions

Link to this function

reason_atom(status_code)

View Source

Specs

reason_atom(http_status_code()) :: atom()

Converts HTTP response status code as integer into a reason atom (see RFC 7231, section 6.1).