Tags: | web, network |
Authors: | Slava Pestov |
Class | Superclass | Slots |
cookie | tuple | name value version comment path domain expires max-age http-only secure priority samesite sameparty hostprefix domainprefix |
post-data | tuple | data params content-type content-encoding |
raw-response | tuple | version code message body |
request | tuple | method url proxy-url version header post-data cookies redirects |
response | tuple | version code message header cookies content-type content-charset content-encoding body |
Word | Stack effect |
(unparse-cookie) | ( cookie -- strings ) |
<cookie> | ( value name -- cookie ) |
<post-data> | ( content-type -- post-data ) |
<raw-response> | ( -- response ) |
<request> | ( -- request ) |
<response> | ( -- response ) |
basic-auth | ( username password -- str ) |
bearer-auth | ( token -- string ) |
check-cookie-string | ( string -- string' ) |
check-cookie-value | ( string -- string ) |
check-header-string | ( str -- str ) |
delete-cookie | ( request/response name -- ) |
delete-header | ( request/response key -- request/response ) |
get-cookie | ( request/response name -- cookie/f ) |
header | ( request/response key -- value ) |
header-value>string | ( value -- string ) |
max-redirects | ( -- value ) |
parse-content-type | ( content-type -- type encoding ) |
parse-content-type-attributes | ( string -- attributes ) |
parse-cookie | ( string -- seq ) |
parse-set-cookie | ( string -- seq ) |
process-header | ( alist -- assoc ) |
put-cookie | ( request/response cookie -- request/response ) |
read-header | ( -- assoc ) |
set-basic-auth | ( request username password -- request ) |
set-bearer-auth | ( request token -- request ) |
set-header | ( request/response value key -- request/response ) |
set-headers | ( request/response assoc -- request/response ) |
set-proxy-basic-auth | ( request username password -- request ) |
unparse-cookie | ( cookies -- string ) |
unparse-cookie-value | ( key value -- ) |
unparse-set-cookie | ( cookie -- string ) |
write-header | ( assoc -- ) |
Word | Stack effect |
cookie? | ( object -- ? ) |
post-data? | ( object -- ? ) |
raw-response? | ( object -- ? ) |
request? | ( object -- ? ) |
response? | ( object -- ? ) |
Vocabulary | Summary |
http.client | HTTP client |
http.download | |
http.json | |
http.parsers | |
http.server | HTTP server |
http.test | |
http.websockets |