Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 4220 → Rev 4221

/programs/develop/libraries/http/http_en.txt
1,16 → 1,19
 
get(*url);
get(*url, *add_header);
*url = pointer to ASCIIZ URL
*add_header = pointer to ASCIIZ additional header parameters, or null for none.
Initiates a HTTP connection, using 'GET' method.
- returns 0 on error, identifier otherwise.
 
head(*url);
head(*url, *add_header);
*url = pointer to ASCIIZ URL
*add_header = pointer to ASCIIZ additional header parameters, or null for none.
Initiate a HTTP connection, using 'HEAD' method.
- returns 0 on error, identifier otherwise
 
post(*url, *content-type, content-length);
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.
*content-type = pointer to ASCIIZ string containing content type.
content-length = length of the content (in bytes).
Initiate a HTTP connection, using 'POST' method.