StatusToHttpStatus Method |
Converts a StatusCode to an HTTP compliant status
Namespace:
Couchbase.Lite
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax public static Tuple<int, string> ToHttpStatus(
StatusCode status
)
Parameters
- status
- Type: Couchbase.LiteStatusCode
The status code to convert
Return Value
Type:
TupleInt32,
StringA tuple containing the status code, and message to return to the client
See Also