]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/io/servers/connection/connection-docs.factor
change threaded-server and managed-server to take an encoding
[factor.git] / basis / io / servers / connection / connection-docs.factor
index 67c7cb13dda8a8d2075038828af63ff6ee46dbc3..872f3166c2b841c941758a1fecd68404ba36e2c9 100644 (file)
@@ -83,8 +83,8 @@ HELP: new-threaded-server
 { $description "Creates a new instance of a subclass of " { $link threaded-server } ". Subclasses can implement the " { $link handle-client* } " generic word." } ;
 
 HELP: <threaded-server>
-{ $values { "threaded-server" threaded-server } }
-{ $description "Creates a new threaded server. Its slots should be filled in as per " { $link "server-config" } ", before " { $link start-server } " is called to begin waiting for connections." } ;
+{ $values { "encoding" "an encoding descriptor" } { "threaded-server" threaded-server } }
+{ $description "Creates a new threaded server with streams encoded " { $snippet "encoding" } ". Its slots should be filled in as per " { $link "server-config" } ", before " { $link start-server } " is called to begin waiting for connections." } ;
 
 HELP: remote-address
 { $var-description "Variable holding the address specifier of the current client connection. See " { $link "network-addressing" } "." } ;