Skip to content

Commit 263b92c

Browse files
fix inline docs for HTTPNetworkTransport's delegate parameter 🤦‍♀️
1 parent 96639d4 commit 263b92c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Sources/Apollo/HTTPNetworkTransport.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ public class HTTPNetworkTransport: NetworkTransport {
8282
/// - configuration: A session configuration used to configure the session. Defaults to `URLSessionConfiguration.default`.
8383
/// - sendOperationIdentifiers: Whether to send operation identifiers rather than full operation text, for use with servers that support query persistence. Defaults to false.
8484
/// - useGETForQueries: If query operation should be sent using GET instead of POST. Defaults to false.
85-
/// - preflightDelegate: A delegate to check with before sending a request.
86-
/// - requestCompletionDelegate: A delegate to notify when the URLSessionTask has completed.
85+
/// - delegate: [Optional] A delegate which can conform to any or all of `HTTPNetworkTransportPreflightDelegate`, `HTTPNetworkTransportTaskCompletedDelegate`, and `HTTPNetworkTransportRetryDelegate`. Defaults to nil.
8786
public init(url: URL,
8887
configuration: URLSessionConfiguration = .default,
8988
sendOperationIdentifiers: Bool = false,

0 commit comments

Comments
 (0)