Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
OhKanghoon authored Jan 18, 2019
1 parent a0aba0c commit 8744558
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8744558

Please sign in to comment.