crash.software
Projects
Pull Requests
Issues
Builds
sing-box
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
sing-box
Files
🤬
Sign In
c7f89ad8
ROOT
/
transport
/
v2raywebsocket
/
conn.go
Search
History
235 lines
|
ISO-8859-1
|
4 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
WebsocketConn
websocket.Conn
Writer
remoteAddr
:
net.Addr
reader
:
io.Reader
NewServerConn
(wsConn *websocket.Conn, remoteAddr net.Addr)
:
*WebsocketConn
EarlyWebsocketConn
Client
ctx
:
context.Context
conn
:
*WebsocketConn
create
:
chan struct{}
wrapError
(err error)
:
error
*WebsocketConn
Close
()
:
error
Read
(b []byte)
:
(n int, err error)
RemoteAddr
()
:
net.Addr
SetDeadline
(t time.Time)
:
error
Upstream
()
:
any
UpstreamWriter
()
:
any
*EarlyWebsocketConn
Read
(b []byte)
:
(n int, err error)
Write
(b []byte)
:
(n int, err error)
WriteBuffer
(buffer *buf.Buffer)
:
error
Close
()
:
error
LocalAddr
()
:
net.Addr
RemoteAddr
()
:
net.Addr
SetDeadline
(t time.Time)
:
error
SetReadDeadline
(t time.Time)
:
error
SetWriteDeadline
(t time.Time)
:
error
Upstream
()
:
any
LazyHeadroom
()
:
bool
All occurrences
Please wait...
Page is in error, reload to recover