-
Notifications
You must be signed in to change notification settings - Fork 88
FCGI display
clpetersen edited this page Oct 16, 2014
·
4 revisions
Sends the string to the connected web client. Note that calls that use the standard output port will write to the web server log, not the connected client.
(let loop ()
(if (>= (FCGI-Accept) 0) (begin
(set! count (+ count 1))
(FCGI-display "Content-type: text/html\r\n\r\n")
(FCGI-display (with-output-to-string "" (lambda ()
(sxml->xml `(html
(head (title "LambdaNative FastCGI"))
(body (h1 "LambdaNative FastCGI")
"Request number " ,(number->string count)
" running on host " (i ,(FCGI-getenv "SERVER_NAME"))
)))
)))
(FCGI-Finish)
) (thread-sleep! 0.001))
(loop))
-
- accelerometer
- alist
- audio
- audioaux
- base64
- btle-scan
- camera
- cdb
- cgi
- config
- csv
- curl
- digest
- dmtx
- download
- eventloop
- fcgi
- fft
- generalized-arrays
- gps
- graph
- gyro
- hidapi
- hpdf
- html
- httpsclient
- hybridapp
- json
- lmdb
- ln_core
- ln_glcore
- ln_glgui
- ln_store
- localization
- localization_gui
- localnotification
- magnetometer
- mdns
- mqtt
- mqtt-store
- multitouch
- oauth
- orientation
- p256ecdsa
- png
- portaudio
- pregexp
- pressure
- prime
- pushnotification
- redcap
- rsa
- rtaudio
- rupi
- rotation
- sanestring
- scheduler
- serial
- sets
- settings
- simplexnoise
- sqlite
- ssax
- syntax-case
- timestamp
- ttf
- uiform
- url
- uuid
- vibrate
- videoplayer
- watchdog
- website
- xml
- zip