mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-01 16:58:30 +00:00
Fix redbean help typos (#212)
This commit is contained in:
parent
ea83cc0ad0
commit
312ccc919b
1 changed files with 8 additions and 8 deletions
|
@ -374,12 +374,12 @@ HOOKS
|
||||||
of the listening interface that accepted the connection. This may
|
of the listening interface that accepted the connection. This may
|
||||||
be used to create a server activity dashboard, in which case the
|
be used to create a server activity dashboard, in which case the
|
||||||
data provider handler should set SetHeader('Connection','Close').
|
data provider handler should set SetHeader('Connection','Close').
|
||||||
This won't be called in unprocess mode.
|
This won't be called in uniprocess mode.
|
||||||
|
|
||||||
OnProcessDestroy(pid:int)
|
OnProcessDestroy(pid:int)
|
||||||
If this function is defined it'll be called from the main process
|
If this function is defined it'll be called from the main process
|
||||||
each time redbean reaps a child connection process using wait4().
|
each time redbean reaps a child connection process using wait4().
|
||||||
This won't be called in unprocess mode.
|
This won't be called in uniprocess mode.
|
||||||
|
|
||||||
OnServerStart()
|
OnServerStart()
|
||||||
If this function is defined it'll be called from the main process
|
If this function is defined it'll be called from the main process
|
||||||
|
@ -393,12 +393,12 @@ HOOKS
|
||||||
OnWorkerStart()
|
OnWorkerStart()
|
||||||
If this function is defined it'll be called from the child worker
|
If this function is defined it'll be called from the child worker
|
||||||
process after it's been forked and before messages are handled.
|
process after it's been forked and before messages are handled.
|
||||||
This won't be called in unprocess mode.
|
This won't be called in uniprocess mode.
|
||||||
|
|
||||||
OnWorkerStop()
|
OnWorkerStop()
|
||||||
If this function is defined it'll be called from the child worker
|
If this function is defined it'll be called from the child worker
|
||||||
process once _exit() is ready to be called. This won't be called
|
process once _exit() is ready to be called. This won't be called
|
||||||
in unprocess mode.
|
in uniprocess mode.
|
||||||
|
|
||||||
FUNCTIONS
|
FUNCTIONS
|
||||||
|
|
||||||
|
@ -871,7 +871,7 @@ FUNCTIONS
|
||||||
appropriate endpoint.
|
appropriate endpoint.
|
||||||
|
|
||||||
RouteHost([host:str,[path:str]]) → bool
|
RouteHost([host:str,[path:str]]) → bool
|
||||||
This is the same as Route except it only implements the subset of
|
This is the same as Route, except it only implements the subset of
|
||||||
request routing needed for serving virtual-hosted assets, where
|
request routing needed for serving virtual-hosted assets, where
|
||||||
redbean tries to prefix the path with the hostname when looking up
|
redbean tries to prefix the path with the hostname when looking up
|
||||||
a file. This function returns true if the request was resolved. If
|
a file. This function returns true if the request was resolved. If
|
||||||
|
@ -879,7 +879,7 @@ FUNCTIONS
|
||||||
set additional headers.
|
set additional headers.
|
||||||
|
|
||||||
RoutePath([path:str]) → bool
|
RoutePath([path:str]) → bool
|
||||||
This is the same as Route except it only implements the subset of
|
This is the same as Route, except it only implements the subset of
|
||||||
request routing needed for serving assets. This function returns
|
request routing needed for serving assets. This function returns
|
||||||
true if the request was resolved. If it was resolved, then your
|
true if the request was resolved. If it was resolved, then your
|
||||||
OnHttpRequest request handler can still set additional headers.
|
OnHttpRequest request handler can still set additional headers.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue