mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
x.websocket: move to net.websocket module (#10648)
This commit is contained in:
10
vlib/net/websocket/websocket_nix.c.v
Normal file
10
vlib/net/websocket/websocket_nix.c.v
Normal file
@ -0,0 +1,10 @@
|
||||
module websocket
|
||||
|
||||
// error_code returns the error code
|
||||
fn error_code() int {
|
||||
return C.errno
|
||||
}
|
||||
|
||||
const (
|
||||
error_ewouldblock = C.EWOULDBLOCK // blocking error code
|
||||
)
|
Reference in New Issue
Block a user