HttpRequestHeadersExtensions Class

 

Provides extension methods for the HttpRequestHeaders class.

Namespace:   System.Net.Http
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

Inheritance Hierarchy

System.Object
  System.Net.Http.HttpRequestHeadersExtensions

Syntax

[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static class HttpRequestHeadersExtensions
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
[ExtensionAttribute]
public ref class HttpRequestHeadersExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
type HttpRequestHeadersExtensions = class end
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
<ExtensionAttribute>
Public NotInheritable Class HttpRequestHeadersExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static GetCookies(HttpRequestHeaders)

Gets any cookie headers present in the request.

System_CAPS_pubmethodSystem_CAPS_static GetCookies(HttpRequestHeaders, String)

Gets any cookie headers present in the request that contain a cookie state whose name that matches the specified value.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Net.Http Namespace

Return to top