Commit e7ef09a0 authored by Francis's avatar Francis
Browse files

修正README语法

parent d9729864
......@@ -7,14 +7,14 @@
~~~ js
const ProxyClient = require('proxy-client')
# 链接至代理池
// 链接至代理池
ProxyClient.config({
port: 4000,
host: '127.0.0.1',
})
# 增加代理
# 会在增加代理时对代理进行验证
// 增加代理
// 会在增加代理时对代理进行验证
ProxyClient
.addProxy({ip: '10.0.0.1', port: '8081'})
.then(() => {
......@@ -25,7 +25,7 @@ ProxyClient
})
# 获取代理列表
// 获取代理列表
ProxyClient
.fetchProxies(10)
.then((proxies) => {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment