Last active
August 26, 2021 11:49
-
-
Save ldclakmal/c1e6d288f33a5bea61a31c249ad6d933 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ballerina/http; | |
http:Client clientEP = check new("https://localhost:9092", | |
secureSocket = { | |
cert: "/path/to/client-public.crt", | |
key: { | |
certFile: "/path/to/server-public.crt", | |
keyFile: "/path/to/server-private.key" | |
} | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment