Skip to content

Commit

Permalink
Update advanced client creation doc
Browse files Browse the repository at this point in the history
  • Loading branch information
designatednerd committed Oct 20, 2020
1 parent 4decc6d commit e89c995
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/initialization.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ Under the hood, this will create a client using `RequestChainNetworkTransport` w

## Advanced Client Creation

For more advanced usage of the client, you can use this initializer which allows you to pass in an object conforming to the `NetworkTransport` protocol, as well as a store if you wish:
For more advanced usage of the client, you can use this initializer which allows you to pass in an object conforming to the `NetworkTransport` protocol, as well as a store:

```swift
public init(networkTransport: NetworkTransport,
store: ApolloStore = ApolloStore(cache: InMemoryNormalizedCache()))
store: ApolloStore)
```

The available implementations are:
Expand Down

0 comments on commit e89c995

Please sign in to comment.