Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mayuki committed Dec 11, 2024
1 parent 7c764fc commit ca888ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,8 @@ We strongly not recommend this, but in some cases, you may want to skip certific
### Handling server certificate verification
You can customize the server certificate verification process by setting the `OnVerifyServerCertificate` property.

The callback should return `true` or `false` based on the verification result. If the property is set, the root CA verification is not performed.

```csharp
using var httpHandler = new YetAnotherHttpHandler()
{
Expand Down

0 comments on commit ca888ac

Please sign in to comment.