Skip to content

Commit e50334c

Browse files
authored
Merge pull request #107 from Cysharp/feature/UpdateReadme24121301
Update README.md
2 parents be5165a + d37105c commit e50334c

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

.github/workflows/build-push-and-pr.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ on:
44
branches:
55
- main
66
paths-ignore:
7-
- '.github/**'
8-
- '**.md'
7+
- '**/*.md'
8+
- 'THIRD-PARTY-NOTICES'
99
pull_request:
1010
branches:
1111
- main
1212
paths-ignore:
13-
- '.github/**'
14-
- '**.md'
13+
- '**/*.md'
14+
- 'THIRD-PARTY-NOTICES'
1515

1616
env:
1717
_UNITY_VERSION: 2021.3.1f1

README.md

+9-6
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ This library depends on the following additional libraries:
7777
- [System.IO.Pipelines](https://www.nuget.org/packages/System.IO.Pipelines) (netstandard2.1)
7878
- [System.Runtime.CompilerServices.Unsafe](https://www.nuget.org/packages/System.Runtime.CompilerServices.Unsafe) (netstandard2.1)
7979

80-
#### Method 1: Using NuGetForUnity
80+
#### Method 1: Using NuGetForUnity + GitHub
8181

8282
1. Install [NuGetForUnity](https://github.com/GlitchEnzo/NuGetForUnity) to your Unity project
8383
2. Install the following NuGet packages via NuGetForUnity:
@@ -89,7 +89,7 @@ https://github.com/Cysharp/YetAnotherHttpHandler.git?path=src/YetAnotherHttpHand
8989
```
9090

9191
> [!NOTE]
92-
> Please replace `{Version}` with the version number you want to install (e.g. `1.2.0`).
92+
> Please replace `{Version}` with the version number you want to install (e.g. `1.8.0`). See [Releases](https://github.com/Cysharp/YetAnotherHttpHandler/releases) page.
9393
9494
#### Method 2: Using UnityNuGet scope registry
9595

@@ -112,7 +112,7 @@ https://github.com/Cysharp/YetAnotherHttpHandler.git?path=src/YetAnotherHttpHand
112112
```
113113

114114
> [!NOTE]
115-
> Please replace `{Version}` with the version number you want to install (e.g. `1.2.0`).
115+
> Please replace `{Version}` with the version number you want to install (e.g. `1.8.0`). See [Releases](https://github.com/Cysharp/YetAnotherHttpHandler/releases) page.
116116
117117
#### Method 3: Install from GitHub / Git repository
118118

@@ -126,7 +126,7 @@ https://github.com/Cysharp/YetAnotherHttpHandler.git?path=src/YetAnotherHttpHand
126126
```
127127

128128
> [!NOTE]
129-
> Please replace `{Version}` with the version number you want to install (e.g. `1.2.0`).
129+
> Please replace `{Version}` with the version number you want to install (e.g. `1.8.0`). See [Releases](https://github.com/Cysharp/YetAnotherHttpHandler/releases) page.
130130
131131
## Usage
132132

@@ -176,14 +176,15 @@ To use grpc-dotnet (Grpc.Net.Client), add the following additional library to `m
176176
> [!NOTE]
177177
> Replace `{version}` with the latest version available in NuGet: https://www.nuget.org/packages/Grpc.Net.Client#versions-body-tab
178178
179-
#### Method 2: Install pre-built package or install the libraries manually.
179+
#### Method 3: Install pre-built package or install the libraries manually.
180180

181181
Please download and install [Grpc.Net.Client.Dependencies.unitypackage
182182
from the dependency redistribution on the release page](https://github.com/Cysharp/YetAnotherHttpHandler/releases/tag/redist-20230728-01), or obtain the library from NuGet.
183183

184-
Create an instance of `YetAnotherHttpHandler` and pass it to `GrpcChannelOptions.HttpHandler` property.
185184

186185
#### Using GrpcChannel with YetAnotherHttpHandler
186+
Create an instance of `YetAnotherHttpHandler` and pass it to `GrpcChannelOptions.HttpHandler` property.
187+
187188
```csharp
188189
using Cysharp.Net.Http;
189190

@@ -214,12 +215,14 @@ Once the handler sends a request, these settings become immutable and cannot be
214215
|SkipCertificateVerification|Gets or sets a value that indicates whether to skip certificate verification.|
215216
|OnVerifyServerCertificate|Gets or sets a custom handler that validates server certificates.|
216217
|RootCertificates|Gets or sets a custom root CA. By default, the built-in root CA (Mozilla's root certificates) is used. See also https://github.com/rustls/webpki-roots. |
218+
|OverrideServerName|Gets or sets a value that specifies subject alternative name (SAN) of the certificate.|
217219
|ClientAuthCertificates|Gets or sets a custom client auth key.|
218220
|ClientAuthKey|Gets or sets a custom client auth certificates.|
219221
|Http2InitialStreamWindowSize|Gets or sets the SETTINGS_INITIAL_WINDOW_SIZE option for HTTP2 stream-level flow control.|
220222
|Http2InitialConnectionWindowSize|Gets or sets the max connection-level flow control for HTTP2|
221223
|Http2AdaptiveWindow|Gets or sets whether to use an adaptive flow control. Enabling this will override the limits set in http2_initial_stream_window_size and http2_initial_connection_window_size.|
222224
|Http2MaxFrameSize|Gets or sets the maximum frame size to use for HTTP2.|
225+
|ConnectTimeout|Gets or sets timeout for TCP connection establishment. Pass null to never timeout. Default is never timeout.|
223226
|Http2KeepAliveInterval|Gets or sets an interval for HTTP2 Ping frames should be sent to keep a connection alive. Pass <value>null</value> to disable HTTP2 keep-alive. Default is currently disabled.|
224227
|Http2KeepAliveTimeout|Gets or sets a timeout for receiving an acknowledgement of the keep-alive ping. If the ping is not acknowledged within the timeout, the connection will be closed. Does nothing if http2_keep_alive_interval is disabled. Default is 20 seconds.|
225228
|Http2KeepAliveWhileIdle|Gets or sets whether HTTP2 keep-alive should apply while the connection is idle. If disabled, keep-alive pings are only sent while there are open request/responses streams. If enabled, pings are also sent when no streams are active. Does nothing if http2_keep_alive_interval is disabled. Default is false.|

0 commit comments

Comments
 (0)