Skip to content

对swift的URLSession进行拆分,增加支持设置resolve和connectTo的能力,常用于ios的IP直连

License

Notifications You must be signed in to change notification settings

zhtut/SSURLSession

Repository files navigation

SSURLSession

对swift的URLSession进行拆分,增加支持设置resolve和connectTo的能力

使用的时候,对URLRequest设定Header

let resolve = "(host):443:(ip)" setValue(resolve, forHTTPHeaderField: "resolve")

支持SNI功能,用于IP直连

About

对swift的URLSession进行拆分,增加支持设置resolve和connectTo的能力,常用于ios的IP直连

Resources

License

Stars

Watchers

Forks

Packages

No packages published