Edit

Share via


NSUrlSession.CreateBidirectionalStream Method

Definition

Overloads

CreateBidirectionalStream(NSNetService)
CreateBidirectionalStream(String, nint)

CreateBidirectionalStream(NSNetService)

[Foundation.Export("streamTaskWithNetService:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSUrlSessionStreamTask CreateBidirectionalStream (Foundation.NSNetService service);
abstract member CreateBidirectionalStream : Foundation.NSNetService -> Foundation.NSUrlSessionStreamTask
override this.CreateBidirectionalStream : Foundation.NSNetService -> Foundation.NSUrlSessionStreamTask

Parameters

service
NSNetService

Returns

Attributes

Applies to

CreateBidirectionalStream(String, nint)

[Foundation.Export("streamTaskWithHostName:port:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSUrlSessionStreamTask CreateBidirectionalStream (string hostname, nint port);
abstract member CreateBidirectionalStream : string * nint -> Foundation.NSUrlSessionStreamTask
override this.CreateBidirectionalStream : string * nint -> Foundation.NSUrlSessionStreamTask

Parameters

hostname
String
port
System.System.IntPtr System.nativeint

Returns

Attributes

Applies to