Rev 4996 | Rev 5732 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4996 | Rev 5534 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | get(*url, *add_header); |
1 | get(*url, identifier, flags, *add_header); |
2 | *url = pointer to ASCIIZ URL |
2 | *url = pointer to ASCIIZ URL |
- | 3 | identifier = identified of previously opened connection, or 0 to open a new one |
|
- | 4 | flags = bit flags (see http.inc user flags) |
|
3 | *add_header = pointer to ASCIIZ additional header parameters, or null for none. |
5 | *add_header = pointer to ASCIIZ additional header parameters, or null for none. |
4 | Every additional parameter must end with CR LF bytes, including the last line. |
6 | Every additional parameter must end with CR LF bytes, including the last line. |
5 | Initiates a HTTP connection, using 'GET' method. |
7 | Initiates a HTTP connection, using 'GET' method. |
6 | - returns 0 on error, identifier otherwise. |
8 | - returns 0 on error, identifier otherwise. |
Line 7... | Line 9... | ||
7 | 9 | ||
8 | head(*url, *add_header); |
10 | head(*url, identifier, flags, *add_header); |
- | 11 | *url = pointer to ASCIIZ URL |
|
- | 12 | identifier = identified of previously opened connection, or 0 to open a new one |
|
9 | *url = pointer to ASCIIZ URL |
13 | flags = bit flags (see http.inc user flags) |
10 | *add_header = pointer to ASCIIZ additional header parameters, or null for none. |
14 | *add_header = pointer to ASCIIZ additional header parameters, or null for none. |
11 | Every additional parameter must end with CR LF bytes, including the last line. |
15 | Every additional parameter must end with CR LF bytes, including the last line. |
12 | Initiate a HTTP connection, using 'HEAD' method. |
16 | Initiate a HTTP connection, using 'HEAD' method. |
Line 13... | Line 17... | ||
13 | - returns 0 on error, identifier otherwise |
17 | - returns 0 on error, identifier otherwise |
14 | 18 | ||
- | 19 | post(*url, identifier, flags, *add_header, *content-type, content-length); |
|
- | 20 | *url = pointer to ASCIIZ URL |
|
15 | post(*url, *add_header, *content-type, content-length); |
21 | identifier = identified of previously opened connection, or 0 to open a new one |
16 | *url = pointer to ASCIIZ URL |
22 | flags = bit flags (see http.inc user flags) |
17 | *add_header = pointer to ASCIIZ additional header parameters, or null for none. |
23 | *add_header = pointer to ASCIIZ additional header parameters, or null for none. |
18 | Every additional parameter must end with CR LF bytes, including the last line. |
24 | Every additional parameter must end with CR LF bytes, including the last line. |
19 | *content-type = pointer to ASCIIZ string containing content type. |
25 | *content-type = pointer to ASCIIZ string containing content type. |