MonobjcMonobjc Documented Class Library
CookiesWithResponseHeaderFieldsForURL Method (headerFields, theURL)
NamespacesMonobjc.FoundationNSHTTPCookieCookiesWithResponseHeaderFieldsForURL(NSDictionary, NSURL)

Returns an array of NSHTTPCookie objects corresponding to the provided response header fields for the provided URL.

Original signature is '+ (NSArray *)cookiesWithResponseHeaderFields:(NSDictionary *)headerFields forURL:(NSURL *)theURL'

Available in Mac OS X v10.2 with Safari 1.0 installed and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSArray CookiesWithResponseHeaderFieldsForURL(
	NSDictionary headerFields,
	NSURL theURL
)
Public Shared Function CookiesWithResponseHeaderFieldsForURL ( _
	headerFields As NSDictionary, _
	theURL As NSURL _
) As NSArray
public:
static NSArray^ CookiesWithResponseHeaderFieldsForURL(
	NSDictionary^ headerFields, 
	NSURL^ theURL
)
Parameters
headerFields (NSDictionary)
The header fields used to create the NSHTTPCookie objects.
theURL (NSURL)
The URL associated with the created cookies.
Return Value
The array of created cookies.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)