mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-21 01:50:30 +00:00
Add GetCookie to redbean Lua (#269)
This commit is contained in:
parent
559b024e1d
commit
1b93066883
2 changed files with 26 additions and 2 deletions
|
@ -604,6 +604,9 @@ FUNCTIONS
|
|||
Returns comment text associated with asset in the ZIP central
|
||||
directory.
|
||||
|
||||
GetCookie(name:str) → str
|
||||
Returns cookie value.
|
||||
|
||||
GetRemoteAddr() → ip:uint32,port:uint16
|
||||
Returns client ip4 address and port, e.g. 0x01020304,31337 would
|
||||
represent 1.2.3.4:31337. This is the same as GetClientAddr except
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue