libSnp SNP31Response Class - fullphat/snarl_network_protocol GitHub Wiki

Synopsis

This class wraps a Snarl Network Protocol 3.1 response. This class cannot be created natively; instead it is returned in response to SNP31Request.SendTo().

Properties

Name Type Description
Content Dictionary<string,string> Provides access to the response content, if any was provided.
Reason string Human-readable text providing more context around the response.
StatusCode StatusCodes The returned status code. See the StatusCodes enum.
Success bool Indicates success or failure. This is shorthand for testing if StatusCode is either Success or UserIsAway.
Type ResponseTypes The type of response. See the ResponseTypes enum.

Methods

None.

See Also