Add documentation for redbean ProgramAddr

This commit is contained in:
Paul Kulchenko 2021-10-30 16:10:02 -07:00
parent 46da0d8572
commit b44615c27c

View file

@ -838,6 +838,10 @@ FUNCTIONS
0x01020304, or returns -1 for invalid inputs. See also FormatIp 0x01020304, or returns -1 for invalid inputs. See also FormatIp
for the inverse operation. for the inverse operation.
ProgramAddr(str)
Configures the address on which to listen. Can be used multiple
times to set more than one address.
ProgramBrand(str) ProgramBrand(str)
Changes HTTP Server header, as well as the <h1> title on the / Changes HTTP Server header, as well as the <h1> title on the /
listing page. The brand string needs to be a UTF-8 value that's listing page. The brand string needs to be a UTF-8 value that's