Click or drag to resize

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
C#
public static Tuple<int, string> ToHttpStatus(
	StatusCode status
)

Parameters

status
Type: Couchbase.LiteStatusCode
The status code to convert

Return Value

Type: TupleInt32, String
A tuple containing the status code, and message to return to the client
See Also