Skip to content

Commit

Permalink
Add the missing client config
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhashinee committed Dec 4, 2024
1 parent 649d78a commit b92b340
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ http:ClientConfiguration http1SniClientConf2 = {
}
};

http:ClientConfiguration http2SniClientConf3 = {
secureSocket: {
serverName: "localhost"
}
};

@test:Config {}
public function testHttp2WithSni() returns error? {
http:Client clientEP = check new ("https://127.0.0.1:9207", http2SniClientConf);
Expand Down

0 comments on commit b92b340

Please sign in to comment.