http-pixiu 1.0.4

A http server based on scheme

$ akku update
$ akku install http-pixiu
$ .akku/env
Authors

Wang Zheng

Homepage

Information missing.

License

MIT

Dependencies

^1.0.0
>=0.0.0-akku <1.0.0

Source code

https://github.com/Scheme-Software-Development/http-pixiu.git git
6f64f192e9fb70d8bc85107819219f1de81901e1

Package contents

  • (http-pixiu core buffer-pool) R6 Chez Scheme
    • → acquire-64k-buffer release-64k-buffer
    • ← (chezscheme) Built-in
  • (http-pixiu core cache) R6 Chez Scheme
    • → make-file-cache cache-lookup cache-store! cache-generate-etag cache-content cache-etag cache-mtime cache-match?
    • ← (chezscheme) Built-in
  • (http-pixiu core client) R6 Chez Scheme
    • → make-client client? client-socket client-send client-receive
    • ← (chezscheme) Built-in
    • ← (ufo-socket)
  • (http-pixiu core config) R6 Chez Scheme
    • → config-get config-load make-config
    • ← (chezscheme) Built-in
  • (http-pixiu core connection-counter) R6 Chez Scheme
    • → make-connection-counter connection-counter-acquire! connection-counter-release! connection-counter-current
    • ← (chezscheme) Built-in
  • (http-pixiu core ffi sendfile) R6 Chez Scheme
    • → sendfile-available? sendfile-copy
    • ← (chezscheme) Built-in
  • (http-pixiu core handler) R6 Chez Scheme
    • → make-response response? response-status response-headers response-body response-size body-size env-method env-path env-headers env-query env-protocol env-body env-client-ip env-body-string env-body-form env-body-port make-env env-get
    • ← (chezscheme) Built-in
    • ← (http-pixiu core util form)
    • (srfi :13) SRFI
  • (http-pixiu core metrics) R6 Chez Scheme
    • → metrics-new metrics-increment-request! metrics-active-connections-inc! metrics-active-connections-dec! metrics-render
    • ← (chezscheme) Built-in
  • (http-pixiu core middleware) R6 Chez Scheme
    • → compose-middlewares wrap-handler cors-middleware ratelimit-middleware session-middleware logging-middleware error-page-middleware security-headers-middleware
    • ← (chezscheme) Built-in
    • ← (http-pixiu core handler)
    • ← (http-pixiu core protocol status)
    • ← (http-pixiu core protocol cors)
    • ← (http-pixiu core protocol ratelimit)
    • ← (http-pixiu core protocol session)
    • ← (http-pixiu core protocol logger)
    • ← (http-pixiu core protocol error-pages)
    • ← (http-pixiu core util association)
  • (http-pixiu core mime) R6 Chez Scheme
    • → guess-mime-type
    • ← (chezscheme) Built-in
  • (http-pixiu core protocol cors) R6 Chez Scheme
    • → cors-preflight-response add-cors-headers
    • ← (chezscheme) Built-in
    • ← (http-pixiu core protocol status)
    • ← (http-pixiu core protocol response-construct)
  • (http-pixiu core protocol error-pages) R6 Chez Scheme
    • → load-error-page error-page-response
    • ← (chezscheme) Built-in
    • ← (http-pixiu core protocol status)
    • ← (http-pixiu core protocol response-construct)
  • (http-pixiu core protocol logger) R6 Chez Scheme
    • → make-logger logger? logger-port logger-shutdown! log-request log-error log-info
    • ← (chezscheme) Built-in
    • ← (slib queue)
    • ← (http-pixiu core util date)
  • (http-pixiu core protocol method) R6 Chez Scheme
    • → http-method:get http-method:head http-method:post http-method:put http-method:delete http-method:get? http-method:head? http-method:post? http-method:put? http-method:delete? http-method?
    • ← (chezscheme) Built-in
  • (http-pixiu core protocol multipart) R6 Chez Scheme
    • → parse-multipart-form-data multipart-part-name multipart-part-filename multipart-part-content-type multipart-part-body
    • ← (chezscheme) Built-in
  • (http-pixiu core protocol ratelimit) R6 Chez Scheme
    • → make-rate-limiter rate-limiter-allow?
    • ← (chezscheme) Built-in
  • (http-pixiu core protocol request-construct) R6 Chez Scheme
    • → construct-request-string
    • ← (chezscheme) Built-in
  • (http-pixiu core protocol request-parse) R6 Chez Scheme
    • → parse-request-coroutine get-values-from-coroutine request-header-size request-body-size
    • ← (chezscheme) Built-in
    • ← (ufo-coroutines)
    • ← (ufo-try)
    • ← (http-pixiu core protocol status)
    • ← (http-pixiu core util binary-read)
    • ← (http-pixiu core util association)
    • (srfi :13) SRFI
  • (http-pixiu core protocol request-queue) R6 Chez Scheme
    • → make-request-queue request-queue-pop request-queue-push request-queue-shutdown
    • ← (chezscheme) Built-in
    • ← (slib queue)
    • ← (http-pixiu core protocol status)
    • ← (http-pixiu core protocol request-parse)
  • (http-pixiu core protocol response-construct) R6 Chez Scheme
    • → write-response write-chunked-response write-json-response write-text-response write-html-response
    • ← (chezscheme) Built-in
    • ← (http-pixiu core util date)
    • ← (http-pixiu core util association)
    • ← (http-pixiu core protocol status)
    • ← (http-pixiu core ffi sendfile)
    • ← (http-pixiu core buffer-pool)
  • (http-pixiu core protocol response-parse) R6 Chez Scheme
    • → parse-response-coroutine
    • ← (chezscheme) Built-in
    • ← (ufo-coroutines)
    • ← (http-pixiu core protocol status)
    • ← (http-pixiu core util binary-read)
    • ← (http-pixiu core util association)
    • (srfi :13) SRFI
  • (http-pixiu core protocol session) R6 Chez Scheme
    • → session-store-create session-store-timeout-seconds session-get session-set! session-destroy! parse-cookie-header generate-session-id make-session-cookie-header env-session-set!
    • ← (chezscheme) Built-in
  • (http-pixiu core protocol status) R6
    • → status:continue status:switching-protocols status:ok status:created status:accepted status:non-authoritative-information status:no-content status:reset-content status:partial-content status:multiple-choices status:moved-permanently status:found status:see-other status:not-modified status:use-proxy status:temporary-redirect status:bad-request status:unauthorized status:payment-required status:forbidden status:not-found status:not-allowed status:not-acceptable status:proxy-authentication-required status:request-timeout status:conflict status:gone status:length-required status:precondition-failed status:payload-too-large status:uri-too-long status:unsupported-media-type status:range-not-satisfiable status:expectation-failed status:upgrade-required status:too-many-requests status:internal-server-error status:not-implemented status:bad-gateway status:service-unavailable status:gateway-timeout status:http-version-not-supported
    • ← (rnrs) R6
  • (http-pixiu core protocol websocket) R6 Chez Scheme
    • → websocket-request? websocket-accept-key make-websocket-response
    • ← (chezscheme) Built-in
  • (http-pixiu core router) R6 Chez Scheme
    • → make-router router-get router-post router-put router-delete router-options router-head router-dispatch router->handler
    • ← (chezscheme) Built-in
  • (http-pixiu core server) R6 Chez Scheme
    • → make-server server? server-socket server-log-port server-thread-pool server-shutdown? server-shutdown?-set! server-in-flight-counter server-in-flight-counter-set!
    • ← (chezscheme) Built-in
    • ← (ufo-socket)
  • (http-pixiu core static) R6 Chez Scheme
    • → serve-static-file safe-path? connection-close? parse-range-header generate-multipart-body gzip-compress compressible?
    • ← (chezscheme) Built-in
    • ← (http-pixiu core handler)
    • ← (http-pixiu core mime)
    • ← (http-pixiu core cache)
    • ← (http-pixiu core zlib)
    • ← (http-pixiu core protocol status)
    • ← (http-pixiu core config)
    • ← (chibi uri)
  • (http-pixiu core util association) R6
    • → assq-ref assoc-ref assv-ref make-alist
    • ← (rnrs) R6
  • (http-pixiu core util binary-read) R6 Chez Scheme
    • → step-forward-to make-buffered-binary-input-port
    • ← (chezscheme) Built-in
  • (http-pixiu core util date) R6 Chez Scheme
    • → date->string http-date->seconds
    • ← (chezscheme) Built-in
  • (http-pixiu core util form) R6 Chez Scheme
    • → parse-form-urlencoded
    • ← (chezscheme) Built-in
    • ← (chibi uri)
    • (srfi :13) SRFI
  • (http-pixiu core util io) R6
    • → read-lines read-line read-to-CRNL read-string write-lines write-string
    • ← (rnrs) R6
  • (http-pixiu core util multipart) R6 Chez Scheme
    • → parse-multipart-form-data
    • ← (chezscheme) Built-in
  • (http-pixiu core zlib) R6 Chez Scheme
    • → zlib-compress zlib-gzip-compress zlib-available? zlib-gzip-available?
    • ← (chezscheme) Built-in
  • (http-pixiu) R6 Chez Scheme
    • → start-server stop-server write-response write-chunked-response write-json-response write-text-response write-html-response safe-path? connection-close? assoc-ref make-router router-get router-post router-put router-delete router-options router-head router-dispatch router->handler make-response response? response-status response-headers response-body env-method env-path env-headers env-body env-query env-protocol env-client-ip env-body-string env-body-form env-body-port env-get parse-multipart-form-data multipart-part-name multipart-part-filename multipart-part-content-type multipart-part-body
    • ← (chezscheme) Built-in
    • ← (http-pixiu core server)
    • ← (http-pixiu core handler)
    • ← (http-pixiu core middleware)
    • ← (http-pixiu core protocol request-parse)
    • ← (http-pixiu core protocol request-queue)
    • ← (http-pixiu core protocol response-construct)
    • ← (http-pixiu core protocol status)
    • ← (http-pixiu core protocol logger)
    • ← (http-pixiu core protocol ratelimit)
    • ← (http-pixiu core protocol multipart)
    • ← (http-pixiu core config)
    • ← (http-pixiu core util io)
    • ← (http-pixiu core util binary-read)
    • ← (http-pixiu core util association)
    • ← (http-pixiu core util date)
    • ← (http-pixiu core mime)
    • ← (http-pixiu core cache)
    • ← (http-pixiu core zlib)
    • ← (http-pixiu core connection-counter)
    • ← (http-pixiu core metrics)
    • ← (http-pixiu core router)
    • ← (chibi uri)
    • ← (ufo-socket)
    • ← (ufo-thread-pool)

Version history

  • 2026-05-12 ~ 1.0.4
  • 2025-03-05 ~ 1.0.3
  • 2024-06-25 ~ 1.0.2
  • 2024-06-22 ~ 1.0.1
  • 2024-06-20 ~ 1.0.0