1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

x.websockets: new websockets module on top of x.net (#6189)

This commit is contained in:
Tomas Hellström
2020-08-22 00:50:38 +02:00
committed by GitHub
parent 1b914d217e
commit fb148e0b61
29 changed files with 2302 additions and 1 deletions

14
vlib/x/websocket/uri.v Normal file
View File

@@ -0,0 +1,14 @@
module websocket
struct Uri {
mut:
url string
hostname string
port string
resource string
querystring string
}
pub fn (u Uri) str() string {
return u.url
}