mirror of
https://github.com/status-im/status-go.git
synced 2025-01-10 14:47:06 +00:00
0babdad17b
* chore: upgrade go-waku to v0.5 * chore: add println and logs to check what's being stored in the enr, and preemptively delete the multiaddr field (#3219) * feat: add wakuv2 test (#3218)
21 lines
451 B
Go
21 lines
451 B
Go
package websocket
|
|
|
|
import (
|
|
"errors"
|
|
"net/http"
|
|
)
|
|
|
|
// AcceptOptions represents Accept's options.
|
|
type AcceptOptions struct {
|
|
Subprotocols []string
|
|
InsecureSkipVerify bool
|
|
OriginPatterns []string
|
|
CompressionMode CompressionMode
|
|
CompressionThreshold int
|
|
}
|
|
|
|
// Accept is stubbed out for Wasm.
|
|
func Accept(w http.ResponseWriter, r *http.Request, opts *AcceptOptions) (*Conn, error) {
|
|
return nil, errors.New("unimplemented")
|
|
}
|