mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-08 19:00:27 +00:00
Update redbean documentation for consistency
This commit is contained in:
parent
01e2b7d1cf
commit
43cb41851a
1 changed files with 18 additions and 18 deletions
|
@ -1636,7 +1636,7 @@ FUNCTIONS
|
|||
Sleeps the specified number of seconds (can be fractional). The
|
||||
smallest interval is a microsecond.
|
||||
|
||||
Route([host:str,[path:str]])
|
||||
Route([host:str[, path:str]])
|
||||
Instructs redbean to follow the normal HTTP serving path. This
|
||||
function is useful when writing an OnHttpRequest handler, since
|
||||
that overrides the serving path entirely. So if the handler
|
||||
|
@ -1647,7 +1647,7 @@ FUNCTIONS
|
|||
generate a 404 Not Found response if redbean couldn't find an
|
||||
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
|
||||
request routing needed for serving virtual-hosted assets, where
|
||||
redbean tries to prefix the path with the hostname when looking up
|
||||
|
@ -2524,7 +2524,7 @@ ARGON2 MODULE
|
|||
uses Argon2 can just as easily become a denial of service vector. For
|
||||
example, you may want to consider throttling your login endpoint.
|
||||
|
||||
argon2.hash_encoded(pass:str, salt:int[, config:table])
|
||||
argon2.hash_encoded(pass:str, salt:str[, config:table])
|
||||
├─→ ascii:str
|
||||
└─→ nil, error:str
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue