diff --git a/README.md b/README.md index cb8fc7e..d5f315c 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,21 @@ pod 'RxApolloClient' ``` ## Usage +### Fetch +```swift +client.rx + .fetch(query: SearchRepositoriesQuery(query: "test")) +``` +### Watch +```swift +client.rx + .watch(query: SearchRepositoriesQuery(query: "test")) +``` +### Mutate +```swift +client.rx + .perform(mutation: AddStarMutation(id: "test")) +``` ## Author