forked from KolibriOS/kolibrios
HTTP lib: updated documentation
git-svn-id: svn://kolibrios.org@4242 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
6cfbb43cef
commit
bf29240050
@ -2,18 +2,21 @@
|
||||
get(*url, *add_header);
|
||||
*url = pointer to ASCIIZ URL
|
||||
*add_header = pointer to ASCIIZ additional header parameters, or null for none.
|
||||
Every additional parameter must end with CR LF bytes, including the last line.
|
||||
Initiates a HTTP connection, using 'GET' method.
|
||||
- returns 0 on error, identifier otherwise.
|
||||
|
||||
head(*url, *add_header);
|
||||
*url = pointer to ASCIIZ URL
|
||||
*add_header = pointer to ASCIIZ additional header parameters, or null for none.
|
||||
Every additional parameter must end with CR LF bytes, including the last line.
|
||||
Initiate a HTTP connection, using 'HEAD' method.
|
||||
- returns 0 on error, identifier otherwise
|
||||
|
||||
post(*url, *add_header, *content-type, content-length);
|
||||
*url = pointer to ASCIIZ URL
|
||||
*add_header = pointer to ASCIIZ additional header parameters, or null for none.
|
||||
Every additional parameter must end with CR LF bytes, including the last line.
|
||||
*content-type = pointer to ASCIIZ string containing content type.
|
||||
content-length = length of the content (in bytes).
|
||||
Initiate a HTTP connection, using 'POST' method.
|
||||
|
Loading…
Reference in New Issue
Block a user