Skip to content

Provides a specialized version of net.Dial that can establish a tunnelled TCP connection via an HTTP proxy that supports the CONNECT method per RFC 2817

License

Notifications You must be signed in to change notification settings

jbeshay/go-connect-tunnel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Documentation CircleCI

Example

conn, err := tunnel.DialViaProxy(proxyUrl, "farend:5000")
if err != nil {
    log.Fatal(err)
}
defer conn.Close()

if conn != nil {
    fmt.Println("Connection ready to use")
}
// ...proceed with net.Conn operations

About

Provides a specialized version of net.Dial that can establish a tunnelled TCP connection via an HTTP proxy that supports the CONNECT method per RFC 2817

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages