Skip to content
This repository
Browse code

doc updates

  • Loading branch information...
commit 902cadca0323898b588f1e2256b050b68ab2ad43 1 parent 5510c71
andrew lyon authored

Showing 1 changed file with 2 additions and 7 deletions. Show diff stats Hide diff stats

  1. +2 7 README.md
9 README.md
Source Rendered
@@ -296,7 +296,7 @@ server via [close-tcp-server](#close-tcp-server).
296 296
297 297 ```common-lisp
298 298 ;; definition
299   -(tcp-server bind-address port read-cb event-cb &key (backlog -1))
  299 +(tcp-server bind-address port read-cb event-cb &key (backlog -1)) => tcp-server
300 300
301 301 ;; example
302 302 (tcp-server "127.0.0.1" 8080
@@ -470,14 +470,9 @@ the [http-response](#http-response) function.
470 470
471 471 If `nil` is passed in into the `bind` arg, the server is bound to "0.0.0.0"
472 472
473   -__NOTE:__ `http-server` has one main purpose: parse an incoming HTTP request and
474   -pass it to your application. It is not concerned with routing, logging, parsing
475   -request content, etc etc etc. It is meant to be extended by your application and
476   -built on top of. KISS.
477   -
478 473 ```common-lisp
479 474 ;; definition
480   -(http-server bind port request-cb event-cb)
  475 +(http-server bind port request-cb event-cb) => http-server
481 476
482 477 ;; example
483 478 (http-server "192.168.0.1" 8090

0 comments on commit 902cadc

Please sign in to comment.
Something went wrong with that request. Please try again.