-
Notifications
You must be signed in to change notification settings - Fork 738
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
438b224
commit d94bc13
Showing
5 changed files
with
90 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
docs/source/api/ApolloWebSocket/enums/WebSocket.WSProtocol.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
**ENUM** | ||
|
||
# `WebSocket.WSProtocol` | ||
|
||
```swift | ||
public enum WSProtocol: CustomStringConvertible | ||
``` | ||
|
||
The GraphQL over WebSocket protocols supported by apollo-ios. | ||
|
||
## Cases | ||
### `graphql_ws` | ||
|
||
```swift | ||
case graphql_ws | ||
``` | ||
|
||
WebSocket protocol `graphql-ws`. This is implemented by the [subscriptions-transport-ws](https://github.com/apollographql/subscriptions-transport-ws) | ||
and AWS AppSync libraries. | ||
|
||
### `graphql_transport_ws` | ||
|
||
```swift | ||
case graphql_transport_ws | ||
``` | ||
|
||
WebSocket protocol `graphql-transport-ws`. This is implemented by the [graphql-ws](https://github.com/enisdenjo/graphql-ws) | ||
library. | ||
|
||
## Properties | ||
### `description` | ||
|
||
```swift | ||
public var description: String | ||
``` |