io.sockets, urls: move documentation for protocol-port

db4
Björn Lindqvist 2013-09-16 14:48:07 +02:00 committed by John Benediktsson
parent 7c179f876c
commit bc56b5099f
2 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
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
ARTICLE: "network-addressing" "Address specifiers"
@ -233,3 +233,7 @@ HELP: 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." } ;

View File

@ -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
{ $values
{ "url" url } { "key" string }