Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions proxies/custom.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Custom proxies allow you to use your own proxy servers with Kernel browsers. Thi
## Configuration

<Tip>
Currently, only HTTPS proxies are supported for custom proxy configurations.
HTTP and HTTPS proxies are supported for custom proxy configurations. If no protocol is specified, HTTPS is used by default.
</Tip>

Specify the host, port, and optional authentication credentials for your proxy server:
Expand All @@ -20,7 +20,7 @@ const kernel = new Kernel();

const proxy = await kernel.proxies.create({
type: 'custom',
name: 'My Private Proxy',
name: 'my-private-proxy',
config: {
host: 'proxy.example.com',
port: 443,
Expand All @@ -40,7 +40,7 @@ client = kernel.Kernel()

proxy = client.proxies.create(
type='custom',
name='My Private Proxy',
name='my-private-proxy',
config={
'host': 'proxy.example.com',
'port': 443,
Expand Down
4 changes: 2 additions & 2 deletions proxies/datacenter.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const kernel = new Kernel();

const proxy = await kernel.proxies.create({
type: 'datacenter',
name: 'US Datacenter',
name: 'my-us-datacenter',
config: {
country: 'US'
}
Expand All @@ -33,7 +33,7 @@ client = kernel.Kernel()

proxy = client.proxies.create(
type='datacenter',
name='US Datacenter',
name='my-us-datacenter',
config={
'country': 'US'
}
Expand Down
4 changes: 2 additions & 2 deletions proxies/isp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const kernel = new Kernel();

const proxy = await kernel.proxies.create({
type: 'isp',
name: 'My ISP Proxy'
name: 'my-isp-proxy'
});

const browser = await kernel.browsers.create({
Expand All @@ -30,7 +30,7 @@ client = kernel.Kernel()

proxy = client.proxies.create(
type='isp',
name='My ISP Proxy'
name='my-isp-proxy'
)

browser = client.browsers.create(
Expand Down
4 changes: 2 additions & 2 deletions proxies/mobile.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const kernel = new Kernel();

const proxy = await kernel.proxies.create({
type: 'mobile',
name: 'T-Mobile Proxy',
name: 'my-tmobile-proxy',
config: {
carrier: 'tmobile'
}
Expand All @@ -33,7 +33,7 @@ client = kernel.Kernel()

proxy = client.proxies.create(
type='mobile',
name='T-Mobile Proxy',
name='my-tmobile-proxy',
config={
'carrier': 'tmobile'
}
Expand Down
4 changes: 2 additions & 2 deletions proxies/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const kernel = new Kernel();
// Create or use existing proxy
const proxy = await kernel.proxies.create({
type: 'residential',
name: 'US Residential',
name: 'my-us-residential',
config: {
country: 'US'
}
Expand All @@ -62,7 +62,7 @@ client = kernel.Kernel()
# Create or use existing proxy
proxy = client.proxies.create(
type='residential',
name='US Residential',
name='my-us-residential',
config={
'country': 'US'
}
Expand Down
4 changes: 2 additions & 2 deletions proxies/residential.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const kernel = new Kernel();

const proxy = await kernel.proxies.create({
type: 'residential',
name: 'California Residential',
name: 'my-california-residential',
config: {
country: 'US',
city: 'sanfrancisco',
Expand All @@ -36,7 +36,7 @@ client = kernel.Kernel()

proxy = client.proxies.create(
type='residential',
name='California Residential',
name='my-california-residential',
config={
'country': 'US',
'city': 'sanfrancisco',
Expand Down