1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/x/websocket/uri.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
}