MonobjcMonobjc Documented Class Library
InitWithProxyHostPortTypeRealmAuthenticationMethod Method (host, port, proxyType, realm, authenticationMethod)
NamespacesMonobjc.FoundationNSURLProtectionSpaceInitWithProxyHostPortTypeRealmAuthenticationMethod(NSString, NSInteger, NSString, NSString, NSString)

Initializes a protection space object representing a proxy server.

Original signature is '- (id)initWithProxyHost:(NSString *)host port:(NSInteger)port type:(NSString *)proxyType realm:(NSString *)realm authenticationMethod:(NSString *)authenticationMethod'

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

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithProxyHostPortTypeRealmAuthenticationMethod(
	NSString host,
	NSInteger port,
	NSString proxyType,
	NSString realm,
	NSString authenticationMethod
)
Public Overridable Function InitWithProxyHostPortTypeRealmAuthenticationMethod ( _
	host As NSString, _
	port As NSInteger, _
	proxyType As NSString, _
	realm As NSString, _
	authenticationMethod As NSString _
) As Id
public:
virtual Id^ InitWithProxyHostPortTypeRealmAuthenticationMethod(
	NSString^ host, 
	NSInteger port, 
	NSString^ proxyType, 
	NSString^ realm, 
	NSString^ authenticationMethod
)
Parameters
host (NSString)
The host of the proxy server for the protection space object.
port (NSInteger)
The port for the protection space object. If port is 0 the default port for the specified proxy type is used, for example, port 80 for HTTP. Note that servers can, and do, treat these values differently.
proxyType (NSString)
The type of proxy server. The value of proxyType should be set to one of the values specified in “Constants.”
realm (NSString)
A string indicating a protocol specific subdivision of the host. realm may be nil if there is no specified realm or if the protocol doesn’t support realms.
authenticationMethod (NSString)
The type of authentication to use. authenticationMethod should be set to one of the values in “Constants” or nil to use the default, NSURLAuthenticationMethodDefault.
Return Value

[Missing <returns> documentation for "M:Monobjc.Foundation.NSURLProtectionSpace.InitWithProxyHostPortTypeRealmAuthenticationMethod(Monobjc.Foundation.NSString,Monobjc.Foundation.NSInteger,Monobjc.Foundation.NSString,Monobjc.Foundation.NSString,Monobjc.Foundation.NSString)"]

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)