diff --git a/source/clog-connection.lisp b/source/clog-connection.lisp index 0e58ffa..fb1108d 100644 --- a/source/clog-connection.lisp +++ b/source/clog-connection.lisp @@ -388,8 +388,9 @@ the default answer. (Private)" (static-root #P"./static-files/")) "Initialize CLOG on a socket using HOST and PORT to serve BOOT-FILE as the default route for '/' to establish web-socket connections and static files -located at STATIC-ROOT. The webserver used with CLACK can be chosed with -:SERVER. If LONG-POLLING-FIRST is t, the output is sent as HTML instead of +located at STATIC-ROOT. The webserver used with CLACK can be chosen with +:SERVER and middlewares prepended with :LACK-MIDDLEWARE-LIST. +If LONG-POLLING-FIRST is t, the output is sent as HTML instead of websocket commands until the end of the on-new-window-handler, if LONG-POLLING-FIRST is a number will keep long polling till that number of queries to browser. LONG-POLLING-FIRST is used in webserver applications to diff --git a/source/clog-system.lisp b/source/clog-system.lisp index f6c5ff2..fb61d8f 100644 --- a/source/clog-system.lisp +++ b/source/clog-system.lisp @@ -76,8 +76,9 @@ the same as the clog directy this overides the relative paths used in them.") (asdf:system-source-directory :clog)))) "Inititalize CLOG on a socket using HOST and PORT to serve BOOT-FILE as the default route to establish web-socket connections and static files located at -STATIC-ROOT. The webserver used with CLACK can be chosed with :SERVER. If -EXTENDED-ROUTING is t routes will match even if extend with additional / and +STATIC-ROOT. The webserver used with CLACK can be chosen with :SERVER and +middlewares prepended with :LACK-MIDDLEWARE-LIST. +If EXTENDED-ROUTING is t routes will match even if extend with additional / and additional paths. If LONG-POLLING-FIRST is t then long polling continues until the on-new-window-handler ends, if LONG-POLLING-FIRST is a number continues long polling until that number of queries to browser. LONG-POLLING-FIRST is used in