Skip to content

Commit c078564

Browse files
authored
add protocol snippet to code (#71)
1 parent ef093c5 commit c078564

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

proxies/custom.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const kernel = new Kernel();
2121
const proxy = await kernel.proxies.create({
2222
type: 'custom',
2323
name: 'my-private-proxy',
24+
protocol: 'https',
2425
config: {
2526
host: 'proxy.example.com',
2627
port: 443,
@@ -41,6 +42,7 @@ client = kernel.Kernel()
4142
proxy = client.proxies.create(
4243
type='custom',
4344
name='my-private-proxy',
45+
protocol='https',
4446
config={
4547
'host': 'proxy.example.com',
4648
'port': 443,

0 commit comments

Comments
 (0)