|
FFmpeg
|
#include "url.h"Go to the source code of this file.
Functions | |
| void | ff_http_init_auth_state (URLContext *dest, const URLContext *src) |
| Initialize the authentication state based on another HTTP URLContext. | |
| int | ff_http_do_new_request (URLContext *h, const char *uri) |
| Send a new HTTP request, reusing the old connection. | |
| void ff_http_init_auth_state | ( | URLContext * | dest, |
| const URLContext * | src | ||
| ) |
Initialize the authentication state based on another HTTP URLContext.
This can be used to pre-initialize the authentication parameters if they are known beforehand, to avoid having to do an initial failing request just to get the parameters.
| dest | URL context whose authentication state gets updated |
| src | URL context whose authentication state gets copied |
| int ff_http_do_new_request | ( | URLContext * | h, |
| const char * | uri | ||
| ) |
Send a new HTTP request, reusing the old connection.
| h | pointer to the resource |
| uri | uri used to perform the request |
Definition at line 216 of file http.c.
Referenced by rtmp_http_send_cmd().
1.8.2