Skip to content

Commit 74ee4a0

Browse files
jbl428imdudu1
andcommitted
docs: update README.md
Co-authored-by: imdudu1 <[email protected]>
1 parent a79992b commit 74ee4a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ class UserService {
7979

8080
- `@HttpInterface()`: Marks the class as an HTTP service.
8181

82-
- `@{HTTP Method}Exchange(path: string)`: Marks the method as an HTTP request method, with `path` being the request's
82+
- `@{HTTP Method}Exchange(path: string, options?: HttpClientOptions)`: Marks the method as an HTTP request method, with `path` being the request's
8383
path or full URL.
8484

85-
- `@GraphQLExchange(query: string, url = '/graphql')`: Marks the method as a GraphQL request method, with `query` being
85+
- `@GraphQLExchange(query: string, url = '/graphql', options?: HttpClientOptions)`: Marks the method as a GraphQL request method, with `query` being
8686
the GraphQL query and `url` being the GraphQL endpoint.
8787

8888
- `@ResponseBody(dto: ClassConstructor, options?: ClassTransformOptions)`: Specifies the response DTO using a class

0 commit comments

Comments
 (0)