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:
14
vlib/x/websocket/uri.v
Normal file
14
vlib/x/websocket/uri.v
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user