Skip to content

WebSocketTaskProvider

bigearsenal edited this page May 17, 2022 · 1 revision

WebSocketTaskProvider

The abstract websocket task provider, default is URLSession

public protocol WebSocketTaskProvider 

Requirements

init(configuration:​delegate:​delegateQueue:​)

init(configuration: URLSessionConfiguration, delegate: URLSessionDelegate?, delegateQueue queue: OperationQueue?)

createWebSocketTask(with:​)

func createWebSocketTask(with url: URL) -> WebSocketTask
Types
Protocols
Global Typealiases
Global Variables
Global Functions
Operators
Extensions
Clone this wiki locally