C-DEngine 5.105

Ext..::..GetCookies Method

Gets the collection of the HTTP cookies from the specified HTTP headers.

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

Syntax


public static CookieCollection GetCookies(
	NameValueCollection headers,
	bool response
)
Public Shared Function GetCookies ( _
	headers As NameValueCollection, _
	response As Boolean _
) As CookieCollection
public:
static CookieCollection^ GetCookies(
	NameValueCollection^ headers, 
	bool^ response
)

Parameters

headers
Type: NameValueCollection
A [NameValueCollection] that contains a collection of the HTTP headers.
response
Type: Boolean
true if headers is a collection of the response headers; otherwise, false.

Return Value

A CookieCollection that receives a collection of the HTTP cookies.