mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
15 lines
185 B
V
15 lines
185 B
V
|
module websocket
|
||
|
|
||
|
struct Uri {
|
||
|
mut:
|
||
|
url string
|
||
|
hostname string
|
||
|
port string
|
||
|
resource string
|
||
|
querystring string
|
||
|
}
|
||
|
|
||
|
pub fn (u Uri) str() string {
|
||
|
return u.url
|
||
|
}
|