🔍
htreq.o
Library for query platform over HTTP.
To properly work, must be defined the system environment variable OHOME with a path to the platform.
To simply start the server need call .http.run[]
.
Elements are used to start the server
Name | Description / comments |
---|---|
.http.default.bind | Get default / set string with binding ip:port |
.http.default.host | Get default / set string with user name |
.http.default.home | Get default / set string with current dir |
.http.default.handle[<sock>;<headers>] | |
.http.run[<creds>] | Start http server |
Example
TODO
Auxiliary elements
Name | Description / comments |
---|---|
.ht.jsn[<x>] | |
.ht.csv[<x>] | |
.ht.proc[<sock>;<fmt>;<req>] | |
.ht.catch[<sock>;<req>;<msg>] |