Subversion Repositories Kolibri OS

Rev

Rev 4168 | Rev 4242 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4168 Rev 4221
Line 1... Line 1...
1
get(*url);
1
get(*url, *add_header);
2
	*url = pointer to ASCIIZ URL
2
	*url = pointer to ASCIIZ URL
-
 
3
	*add_header = pointer to ASCIIZ additional header parameters, or null for none.
3
Initiates a HTTP connection, using 'GET' method.
4
Initiates a HTTP connection, using 'GET' method.
4
 - returns 0 on error, identifier otherwise.
5
 - returns 0 on error, identifier otherwise.
Line 5... Line 6...
5
 
6
 
6
head(*url);
7
head(*url, *add_header);
-
 
8
	*url = pointer to ASCIIZ URL
7
	*url = pointer to ASCIIZ URL
9
	*add_header = pointer to ASCIIZ additional header parameters, or null for none.	
8
Initiate a HTTP connection, using 'HEAD' method.
10
Initiate a HTTP connection, using 'HEAD' method.
Line 9... Line 11...
9
 - returns 0 on error, identifier otherwise
11
 - returns 0 on error, identifier otherwise
10
 
12
 
-
 
13
post(*url, *add_header, *content-type, content-length);
11
post(*url, *content-type, content-length);
14
	*url = pointer to ASCIIZ URL
12
	*url = pointer to ASCIIZ URL
15
	*add_header = pointer to ASCIIZ additional header parameters, or null for none.	
13
	*content-type = pointer to ASCIIZ string containing content type.
16
	*content-type = pointer to ASCIIZ string containing content type.
14
	content-length = length of the content (in bytes).
17
	content-length = length of the content (in bytes).
15
Initiate a HTTP connection, using 'POST' method.
18
Initiate a HTTP connection, using 'POST' method.