mirror of
https://github.com/vlang/v.git
synced 2025-09-14 06:52:36 +03:00
x.websocket: move to net.websocket module (#10648)
This commit is contained in:
parent
c44a47acb1
commit
ec973f5c6e
41 changed files with 1656 additions and 67 deletions
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
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue