Skip to content

Latest commit

 

History

History
88 lines (45 loc) · 1.88 KB

ersip_status.md

File metadata and controls

88 lines (45 loc) · 1.88 KB

Module ersip_status

Data Types


code() = 100..699

reason() = binary()

response_type() = final | provisional

Function Index

bad_request_reason/1
reason_phrase/1
response_type/1Convert status code to response type (final or provisional).
unsupported_uri_scheme_reason/1

Function Details

bad_request_reason/1

bad_request_reason(X1) -> any()

reason_phrase/1


reason_phrase(Code::code()) -> reason()

response_type/1


response_type(StatusCode::code()) -> response_type()

Convert status code to response type (final or provisional).

unsupported_uri_scheme_reason/1


unsupported_uri_scheme_reason(URIScheme::ersip_uri:scheme()) -> reason()