io.sockets, urls: move documentation for protocol-port
parent
7c179f876c
commit
bc56b5099f
|
@ -1,5 +1,5 @@
|
||||||
USING: help.markup help.syntax io io.backend threads
|
USING: help.markup help.syntax io io.backend threads
|
||||||
strings byte-arrays continuations destructors quotations ;
|
strings byte-arrays continuations destructors quotations math ;
|
||||||
IN: io.sockets
|
IN: io.sockets
|
||||||
|
|
||||||
ARTICLE: "network-addressing" "Address specifiers"
|
ARTICLE: "network-addressing" "Address specifiers"
|
||||||
|
@ -233,3 +233,7 @@ HELP: with-local-address
|
||||||
}
|
}
|
||||||
{ $code "\"192.168.0.1\" 23000 <inet4> [ ] with-local-address" }
|
{ $code "\"192.168.0.1\" 23000 <inet4> [ ] with-local-address" }
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
HELP: protocol-port
|
||||||
|
{ $values { "protocol" "a protocol string" } { "port" { $maybe integer } } }
|
||||||
|
{ $description "Outputs the port number associated with a protocol, or " { $link f } " if the protocol is unknown." } ;
|
||||||
|
|
|
@ -87,10 +87,6 @@ HELP: parse-host
|
||||||
}
|
}
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
HELP: protocol-port
|
|
||||||
{ $values { "protocol" "a protocol string" } { "port" { $maybe integer } } }
|
|
||||||
{ $description "Outputs the port number associated with a protocol, or " { $link f } " if the protocol is unknown." } ;
|
|
||||||
|
|
||||||
HELP: query-param
|
HELP: query-param
|
||||||
{ $values
|
{ $values
|
||||||
{ "url" url } { "key" string }
|
{ "url" url } { "key" string }
|
||||||
|
|
Loading…
Reference in New Issue