From 8744558c334007494063bedef06238bcedbbd753 Mon Sep 17 00:00:00 2001 From: Kanghoon Oh Date: Fri, 18 Jan 2019 18:44:29 +0900 Subject: [PATCH] Update README.md --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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