Skip to content

Commit

Permalink
Correct typo (#2244)
Browse files Browse the repository at this point in the history
  • Loading branch information
minhtaile2712 authored Jul 30, 2024
1 parent 6c596fe commit 8fee05d
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 @@ -12,7 +12,7 @@ For example, let's look at a simple Twitter API v2 client, which uses OAuth2 mac

Before implementing an API client, we need to have a model for it. The model includes an abstraction for the client, which has functions for the API calls we are interested to implement. In addition, the client model would include the necessary request and response models. Usually those are simple classes or records without logic, which are often referred to as DTOs (data transfer objects).

This example starts with a single function that retrieves one Twitter user. Lets being by defining the API client interface:
This example starts with a single function that retrieves one Twitter user. Let's begin by defining the API client interface:

```csharp
public interface ITwitterClient {
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 8fee05d

Please sign in to comment.