C-DEngine 5.105

HttpListenerResponse..::..ProtocolVersion Property

Gets or sets the HTTP version used in the response.

Namespace:  WebSocketSharp.Net
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public Version ProtocolVersion { get; set; }
Public Property ProtocolVersion As Version
	Get
	Set
public:
property Version^ ProtocolVersion {
	Version^ get ();
	void set (Version^ value);
}

Field Value

A Version that represents the version used in the response.

Exceptions


ExceptionCondition
ArgumentNullException The value specified for a set operation is nullNothingnullptra null reference (Nothing in Visual Basic).
ArgumentException The value specified for a set operation doesn't have its Major property set to 1 or doesn't have its Minor property set to either 0 or 1.
InvalidOperationException The response has already been sent.
ObjectDisposedException This object is closed.