Skip to content

Commit

Permalink
Correct typo
Browse files Browse the repository at this point in the history
  • Loading branch information
minhtaile2712 authored Jul 22, 2024
1 parent 4ddda24 commit 2ab9ba5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/versioned_docs/version-v111/usage/example.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public class TwitterClientOptions(string ApiKey, string ApiSecret);

public TwitterClient(IOptions<TwitterClientOptions> options) {
var opt = new RestClientOptions("https://api.twitter.com/2");
_client = new RestClient(options);
_client = new RestClient(opt);
}
```

Expand Down Expand Up @@ -149,4 +149,4 @@ Sample code provided on this page is a production code. For example, the authent

## Final words

This page demonstrates how an API client can be implemented as a typed, configurable client with its own interface. Usage of the client in applications is not covered here as different application types and target frameworks have their own idiomatic ways to use HTTP clients.
This page demonstrates how an API client can be implemented as a typed, configurable client with its own interface. Usage of the client in applications is not covered here as different application types and target frameworks have their own idiomatic ways to use HTTP clients.

0 comments on commit 2ab9ba5

Please sign in to comment.