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

x.websocket: vdoc (#7091)

This commit is contained in:
Tomas Hellström
2020-12-04 01:52:26 +01:00
committed by GitHub
parent cae3bd7f32
commit d12f5f7ba0
9 changed files with 169 additions and 193 deletions

View File

@ -1,13 +1,13 @@
module websocket
// Represents an Uri for websocket connections
// Uri represents an Uri for websocket connections
struct Uri {
mut:
url string // The url to the websocket endpoint
hostname string // The hostname to the websocket endpoint
port string // The port to the websocket endpoint
resource string // The resource used on the websocket endpoint
querystring string // The query string on the websocket endpoint
url string // url to the websocket endpoint
hostname string // hostname of the websocket endpoint
port string // port of the websocket endpoint
resource string // resource of the websocket endpoint
querystring string // query string of the websocket endpoint
}
// str returns the string representation of the Uri