Skip to content

Commit 0b43984

Browse files
authored
Update MyClass.cs (#45195)
1 parent a095841 commit 0b43984

File tree

1 file changed

+2
-2
lines changed
  • docs/fundamentals/networking/http/snippets/httpclient-guidelines

1 file changed

+2
-2
lines changed

docs/fundamentals/networking/http/snippets/httpclient-guidelines/MyClass.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
class MyClass
55
{
6-
static HttpClient? httpClient;
6+
static HttpClient? s_httpClient;
77

88
MyClass()
99
{
@@ -24,6 +24,6 @@ class MyClass
2424
InnerHandler = socketHandler,
2525
};
2626

27-
httpClient = new HttpClient(resilienceHandler);
27+
s_httpClient = new HttpClient(resilienceHandler);
2828
}
2929
}

0 commit comments

Comments
 (0)