helpers_go19.go 343 B

12345678910111213
  1. //go:build go1.9
  2. // +build go1.9
  3. package gobwas
  4. import gobwas "github.com/gobwas/ws"
  5. // Options is just an alias for the `gobwas/ws.Dialer` struct type.
  6. type Options = gobwas.Dialer
  7. // Header is an alias to the adapter that allows the use of `http.Header` as
  8. // `gobwas/ws.Dialer.HandshakeHeader`.
  9. type Header = gobwas.HandshakeHeaderHTTP