Freigeben über


HttpRequestHeadersExtensions Class

Provides extension methods for the HttpRequestHeaders class.

Inheritance Hierarchy

System.Object
  System.Net.Http.HttpRequestHeadersExtensions

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

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class HttpRequestHeadersExtensions
'Usage
public static class HttpRequestHeadersExtensions
[ExtensionAttribute]
public ref class HttpRequestHeadersExtensions abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type HttpRequestHeadersExtensions =  class end
public final class HttpRequestHeadersExtensions

Methods

  Name Description
Public methodStatic member GetCookies(HttpRequestHeaders) Gets any cookie headers present in the request.
Public methodStatic member GetCookies(HttpRequestHeaders, String) Gets any cookie headers present in the request that contain a cookie state whose name that matches the specified value.

Top

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

Reference

System.Net.Http Namespace