Provides a low-level interface to the net/http/fcgi package.
Package fcgi implements the FastCGI protocol.
See https://fast-cgi.github.io/ for an unofficial mirror of the
Currently only the responder role is supported.
ConstantsConstants are variables with :const true in their metadata. Joker currently does not recognize them as special; as such, it allows redefining them or their values.
ErrConnClosedGoVar of *error v1.0
ErrConnClosed is returned by Read when a handler attempts to read the body of
a request after the connection to the web server has been closed.
ErrRequestAbortedGoVar of *error v1.0
ErrRequestAborted is returned by Read when a handler attempts to read the
body of a request that has been aborted by the web server.
Functions, Macros, and Special Forms
ProcessEnv returns FastCGI environment variables associated with the request r
for which no effort was made to be included in the request itself - the data
is hidden in the request's context. As an example, if REMOTE_USER is set for a
request, it will not be found anywhere in r, but it will be included in
ProcessEnv's response (via r's context).
Go input arguments: (r *http.Request)
Go return type: map[string]string
Joker input arguments: [^(ref-to go.std.net.http/Request) r]
Joker return type: GoObject
(Serve l handler)
Serve accepts incoming FastCGI connections on the listener l, creating a new
goroutine for each. The goroutine reads requests and then calls handler
to reply to them.
If l is nil, Serve accepts connections from os.Stdin.
If handler is nil, http.DefaultServeMux is used.
Go input arguments: (l net.Listener, handler http.Handler)
Go return type: error
Joker input arguments: [^go.std.net/Listener l, ^go.std.net.http/Handler handler]
Joker return type: Error