Mac Guides | Samples

MonoMac.Foundation.NSUrlRequest Class

A Url Load request.

See Also: NSUrlRequest

Syntax

[MonoMac.Foundation.Register("NSURLRequest", true)]
public class NSUrlRequest : NSObject

Requirements

Namespace: MonoMac.Foundation
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0

The members of MonoMac.Foundation.NSUrlRequest are listed below.

See Also: NSObject

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes when the derived class has an [Export] constructor.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

[read-only]
BodyNSData.
[read-only]
BodyStreamNSInputStream.
[read-only]
CachePolicyNSUrlRequestCachePolicy.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
HeadersNSDictionary.
[read-only]
HttpMethodString.
[read-only]
default property
Item(String)String. Gets the value of the specified HTTP header.
[read-only]
MainDocumentURLNSUrl.
[read-only]
ShouldHandleCookiesBoolean.
[read-only]
TimeoutIntervalDouble.
[read-only]
UrlNSUrl.

Public Methods

static
FromUrl(NSUrl) : NSUrlRequest
override
ToString() : String
Returns a string representation of the value of the current instance.

Protected Methods

override
Dispose(Boolean)
Releases the resourced used by the NSUrlRequest object.