NSUrlSession
NSUrlSession(IntPtr)
NSUrlSession(NativeHandle)
NSUrlSession(NSObjectFlag)
ClassHandle
Configuration
Delegate
DelegateQueue
SessionDescription
SharedSession
WeakDelegate
CreateBidirectionalStream(NSNetService)
CreateBidirectionalStream(String, nint)
CreateBidirectionalStream(String, nint)
CreateDataTask(NSUrl)
CreateDataTask(NSUrlRequest)
CreateDataTask(NSUrl, NSUrlSessionResponse)
CreateDataTask(NSUrlRequest, NSUrlSessionResponse)
CreateDataTaskAsync(NSUrl)
CreateDataTaskAsync(NSUrlRequest)
CreateDataTaskAsync(NSUrl, NSUrlSessionDataTask)
CreateDataTaskAsync(NSUrlRequest, NSUrlSessionDataTask)
CreateDownloadTask(NSData)
CreateDownloadTask(NSUrl)
CreateDownloadTask(NSUrlRequest)
CreateDownloadTask(NSUrl, NSUrlDownloadSessionResponse)
CreateDownloadTask(NSUrlRequest, NSUrlDownloadSessionResponse)
CreateDownloadTaskAsync(NSUrl)
CreateDownloadTaskAsync(NSUrlRequest)
CreateDownloadTaskAsync(NSUrl, NSUrlSessionDownloadTask)
CreateDownloadTaskAsync(NSUrlRequest, NSUrlSessionDownloadTask)
CreateDownloadTaskFromResumeData(NSData, NSUrlDownloadSessionResponse)
CreateDownloadTaskFromResumeDataAsync(NSData)
CreateDownloadTaskFromResumeDataAsync(NSData, NSUrlSessionDownloadTask)
CreateUploadTask(NSData)
CreateUploadTask(NSUrlRequest)
CreateUploadTask(NSUrlRequest, NSData)
CreateUploadTask(NSUrlRequest, NSUrl)
CreateUploadTask(NSUrlRequest, NSData, NSUrlSessionResponse)
CreateUploadTask(NSUrlRequest, NSUrl, NSUrlSessionResponse)
CreateUploadTask(NSData, Action<NSData, NSUrlResponse, NSError>)
CreateUploadTaskAsync(NSData)
CreateUploadTaskAsync(NSData, NSUrlSessionUploadTask)
CreateUploadTaskAsync(NSUrlRequest, NSData)
CreateUploadTaskAsync(NSUrlRequest, NSUrl)
CreateUploadTaskAsync(NSUrlRequest, NSData, NSUrlSessionUploadTask)
CreateUploadTaskAsync(NSUrlRequest, NSUrl, NSUrlSessionUploadTask)
CreateWebSocketTask(NSUrl)
CreateWebSocketTask(NSUrlRequest)
CreateWebSocketTask(NSUrl, String[])
FinishTasksAndInvalidate()
Flush(Action)
FlushAsync()
FromConfiguration(NSUrlSessionConfiguration)
FromConfiguration(NSUrlSessionConfiguration, INSUrlSessionDelegate, NSOperationQueue)
FromConfiguration(NSUrlSessionConfiguration, NSUrlSessionDelegate, NSOperationQueue)
FromWeakConfiguration(NSUrlSessionConfiguration, NSObject, NSOperationQueue)
GetAllTasks(NSUrlSessionAllPendingTasks)
GetAllTasksAsync()
GetTasks(NSUrlSessionPendingTasks)
GetTasks2(NSUrlSessionPendingTasks2)
GetTasks2Async()
GetTasksAsync()
InvalidateAndCancel()
Reset(Action)
ResetAsync()
xamarinios
namespace Foundation
{
[Introduced(PlatformName.iOS, 7, 0, PlatformArchitecture.All, null)]
[Introduced(PlatformName.MacOSX, 10, 9, PlatformArchitecture.All, null)]
[Register("NSURLSession", true)]
public class NSUrlSession : NSObject
{
[BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export("streamTaskWithHostName:port:")]
[Introduced(PlatformName.iOS, 9, 0, PlatformArchitecture.All, null)]
[Introduced(PlatformName.MacOSX, 10, 11, PlatformArchitecture.All, null)]
public virtual NSUrlSessionStreamTask! CreateBidirectionalStream(string! hostname, nint port);
}
}
Xamarin iOS | 0.0 |
---|---|
Xamarin macOS | 0.0 |
Xamarin tvOS | 0.0 |
Xamarin watchOS | 0.0 |
Information specific to xamarinios | |
Assembly | Xamarin.iOS , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API