INSUrlSessionWebSocketDelegate Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This interface represents the Objective-C protocol NSURLSessionWebSocketDelegate.
[Foundation.Protocol(Name="NSURLSessionWebSocketDelegate", WrapperType=typeof(Foundation.NSUrlSessionWebSocketDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidOpen", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlSession), typeof(Foundation.NSUrlSessionWebSocketTask), typeof(System.String) }, Selector="URLSession:webSocketTask:didOpenWithProtocol:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidClose", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlSession), typeof(Foundation.NSUrlSessionWebSocketTask), typeof(Foundation.NSUrlSessionWebSocketCloseCode), typeof(Foundation.NSData) }, Selector="URLSession:webSocketTask:didCloseWithCode:reason:")]
public interface INSUrlSessionWebSocketDelegate : Foundation.INSUrlSessionTaskDelegate, IDisposable
[<Foundation.Protocol(Name="NSURLSessionWebSocketDelegate", WrapperType=typeof(Foundation.NSUrlSessionWebSocketDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidOpen", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlSession), typeof(Foundation.NSUrlSessionWebSocketTask), typeof(System.String) }, Selector="URLSession:webSocketTask:didOpenWithProtocol:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidClose", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlSession), typeof(Foundation.NSUrlSessionWebSocketTask), typeof(Foundation.NSUrlSessionWebSocketCloseCode), typeof(Foundation.NSData) }, Selector="URLSession:webSocketTask:didCloseWithCode:reason:")>]
type INSUrlSessionWebSocketDelegate = interface
interface INativeObject
interface IDisposable
interface INSUrlSessionTaskDelegate
interface INSUrlSessionDelegate
Derived
Attributes
Implements
A class that implements this interface (and subclasses NSObject ) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.
A class may also implement members from this interface to implement members from the protocol.
Properties
Methods
DidBecomeInvalid(NSUrlSession, NSError)
(Inherited from INSUrlSessionDelegate )
DidClose(NSUrlSession, NSUrlSessionWebSocketTask, NSUrlSessionWebSocketCloseCode, NSData)
DidCompleteWithError(NSUrlSession, NSUrlSessionTask, NSError)
(Inherited from INSUrlSessionTaskDelegate )
DidCreateTask(NSUrlSession, NSUrlSessionTask)
(Inherited from INSUrlSessionTaskDelegate )
DidFinishCollectingMetrics(NSUrlSession, NSUrlSessionTask, NSUrlSessionTaskMetrics)
(Inherited from INSUrlSessionTaskDelegate )
DidFinishEventsForBackgroundSession(NSUrlSession)
(Inherited from INSUrlSessionDelegate )
DidOpen(NSUrlSession, NSUrlSessionWebSocketTask, String)
DidReceiveChallenge(NSUrlSession, NSUrlAuthenticationChallenge, Action<NSUrlSessionAuthChallengeDisposition,NSUrlCredential>)
(Inherited from INSUrlSessionDelegate )
DidReceiveChallenge(NSUrlSession, NSUrlSessionTask, NSUrlAuthenticationChallenge, Action<NSUrlSessionAuthChallengeDisposition,NSUrlCredential>)
(Inherited from INSUrlSessionTaskDelegate )
DidReceiveInformationalResponse(NSUrlSession, NSUrlSessionTask, NSHttpUrlResponse)
(Inherited from INSUrlSessionTaskDelegate )
DidSendBodyData(NSUrlSession, NSUrlSessionTask, Int64, Int64, Int64)
(Inherited from INSUrlSessionTaskDelegate )
NeedNewBodyStream(NSUrlSession, NSUrlSessionTask, Action<NSInputStream>)
(Inherited from INSUrlSessionTaskDelegate )
NeedNewBodyStream(NSUrlSession, NSUrlSessionTask, Int64, Action<NSInputStream>)
(Inherited from INSUrlSessionTaskDelegate )
TaskIsWaitingForConnectivity(NSUrlSession, NSUrlSessionTask)
(Inherited from INSUrlSessionTaskDelegate )
WillBeginDelayedRequest(NSUrlSession, NSUrlSessionTask, NSUrlRequest, Action<NSUrlSessionDelayedRequestDisposition,NSUrlRequest>)
(Inherited from INSUrlSessionTaskDelegate )
WillPerformHttpRedirection(NSUrlSession, NSUrlSessionTask, NSHttpUrlResponse, NSUrlRequest, Action<NSUrlRequest>)
(Inherited from INSUrlSessionTaskDelegate )
Extension Methods
DidBecomeInvalid(INSUrlSessionDelegate, NSUrlSession, NSError)
DidFinishEventsForBackgroundSession(INSUrlSessionDelegate, NSUrlSession)
DidReceiveChallenge(INSUrlSessionDelegate, NSUrlSession, NSUrlAuthenticationChallenge, Action<NSUrlSessionAuthChallengeDisposition,NSUrlCredential>)
DidCompleteWithError(INSUrlSessionTaskDelegate, NSUrlSession, NSUrlSessionTask, NSError)
DidCreateTask(INSUrlSessionTaskDelegate, NSUrlSession, NSUrlSessionTask)
DidFinishCollectingMetrics(INSUrlSessionTaskDelegate, NSUrlSession, NSUrlSessionTask, NSUrlSessionTaskMetrics)
DidReceiveChallenge(INSUrlSessionTaskDelegate, NSUrlSession, NSUrlSessionTask,
NSUrlAuthenticationChallenge, Action<NSUrlSessionAuthChallengeDisposition,
NSUrlCredential>)
DidReceiveInformationalResponse(INSUrlSessionTaskDelegate, NSUrlSession, NSUrlSessionTask, NSHttpUrlResponse)
DidSendBodyData(INSUrlSessionTaskDelegate, NSUrlSession, NSUrlSessionTask, Int64, Int64, Int64)
NeedNewBodyStream(INSUrlSessionTaskDelegate, NSUrlSession, NSUrlSessionTask, Action<NSInputStream>)
NeedNewBodyStream(INSUrlSessionTaskDelegate, NSUrlSession, NSUrlSessionTask, Int64, Action<NSInputStream>)
TaskIsWaitingForConnectivity(INSUrlSessionTaskDelegate, NSUrlSession, NSUrlSessionTask)
WillBeginDelayedRequest(INSUrlSessionTaskDelegate, NSUrlSession,
NSUrlSessionTask, NSUrlRequest, Action<NSUrlSessionDelayedRequestDisposition,
NSUrlRequest>)
WillPerformHttpRedirection(INSUrlSessionTaskDelegate, NSUrlSession, NSUrlSessionTask, NSHttpUrlResponse, NSUrlRequest, Action<NSUrlRequest>)
DidClose(INSUrlSessionWebSocketDelegate, NSUrlSession, NSUrlSessionWebSocketTask, NSUrlSessionWebSocketCloseCode, NSData)
DidOpen(INSUrlSessionWebSocketDelegate, NSUrlSession, NSUrlSessionWebSocketTask, String)
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)