Pipy 文档
Introduction
Getting Started
Release
发布历史
0.10.0-1
0.22.0-31
0.30.0
0.50.0
Tutorial
01 你好
02 回显
03 代理
04 路由
05 负载均衡
06 配置
07 插件
Operating
Reference
API
Configuration
acceptHTTPTunnel()
acceptProxyProtocol()
acceptSOCKS()
acceptTLS()
admin()
branch()
branchMessage()
branchMessageStart()
chain()
compress()
compressHTTP()
connect()
connectHTTPTunnel()
connectProxyProtocol()
connectSOCKS()
connectTLS()
decodeBGP()
decodeDubbo()
decodeHTTPRequest()
decodeHTTPResponse()
decodeMQTT()
decodeMultipart()
decodeRESP()
decodeThrift()
decodeWebSocket()
decompress()
decompressHTTP()
deframe()
demux()
demuxHTTP()
detectProtocol()
dummy()
dump()
encodeBGP()
encodeDubbo()
encodeHTTPRequest()
encodeHTTPResponse()
encodeMQTT()
encodeRESP()
encodeThrift()
encodeWebSocket()
exec()
exit()
export()
fork()
handleData()
handleMessage()
handleMessageBody()
handleMessageEnd()
handleMessageStart()
handleStreamEnd()
handleStreamStart()
handleTLSClientHello()
import()
insert()
link()
listen()
loop()
mux()
muxHTTP()
onEnd()
onStart()
pack()
pipeline()
print()
read()
repeat()
replaceData()
replaceMessage()
replaceMessageBody()
replaceMessageEnd()
replaceMessageStart()
replaceStreamEnd()
replaceStreamStart()
replay()
serveHTTP()
split()
task()
tee()
throttleConcurrency()
throttleDataRate()
throttleMessageRate()
to()
use()
wait()
watch()
Data
from()
Data()
push()
shift()
shiftTo()
shiftWhile()
size
toArray()
Hessian
JSON
decode()
encode()
parse()
stringify()
Message
MessageEnd
MessageStart
Netmask
base
bitmask
broadcast
contains()
decompose()
first
hostmask
ip
last
mask
Netmask()
next()
size
version
StreamEnd
URL
auth
hash
host
hostname
href
URL()
origin
password
path
pathname
port
protocol
query
search
searchParams
username
URLSearchParams
get()
getAll()
URLSearchParams()
set()
toObject()
XML
Node
attributes
children
name
Node()
decode()
encode()
parse()
stringify()
algo
Cache
clear()
get()
Cache()
remove()
set()
HashingLoadBalancer
add()
HashingLoadBalancer()
next()
LeastWorkLoadBalancer
LeastWorkLoadBalancer()
next()
set()
LoadBalancer
allocate()
LoadBalancer()
provision()
schedule()
LoadBalancerResource
Quota
consume()
current
initial
Quota()
produce()
reset()
RoundRobinLoadBalancer
RoundRobinLoadBalancer()
next()
set()
URLRouter
hash()
uuid()
console
debug()
error()
info()
log()
warn()
crypto
Certificate
issuer
Certificate()
subject
subjectAltNames
CertificateChain
Cipher
Decipher
final()
Decipher()
update()
Hash
Hmac
JWK
JWT
header
isValid
JWT()
payload
verify()
PrivateKey
PublicKey
Sign
Verify
http
logging
BinaryLogger
log()
BinaryLogger()
toFile()
toHTTP()
toStderr()
toStdout()
toSyslog()
JSONLogger
log()
JSONLogger()
toFile()
toHTTP()
toStderr()
toStdout()
toSyslog()
TextLogger
log()
TextLogger()
toFile()
toHTTP()
toStderr()
toStdout()
toSyslog()
os
env
readDir()
readFile()
stat()
unlink()
writeFile()
pipy()
exit()
load()
restart()
solve()
stats
Counter
decrease()
increase()
Counter()
withLabels()
zero()
Gauge
decrease()
increase()
Gauge()
set()
withLabels()
zero()
Histogram
Histogram()
observe()
withLabels()
zero()
algo.Quota.reset()
Syntax
Parameters
reset()
See Also