FFmpeg
|
http.h File Reference
#include "url.h"
Include dependency graph for http.h:
This graph shows which files directly or indirectly include this file:
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. More... | |
int | ff_http_do_new_request (URLContext *h, const char *uri) |
Send a new HTTP request, reusing the old connection. More... | |
Function Documentation
int ff_http_do_new_request | ( | URLContext * | h, |
const char * | uri | ||
) |
Send a new HTTP request, reusing the old connection.
- Parameters
-
h pointer to the resource uri uri used to perform the request
- Returns
- a negative value if an error condition occurred, 0 otherwise
Definition at line 216 of file http.c.
Referenced by rtmp_http_send_cmd().
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.
- Parameters
-
dest URL context whose authentication state gets updated src URL context whose authentication state gets copied
Definition at line 102 of file http.c.
Referenced by ff_rtsp_open_transport_ctx().
Generated on Fri Dec 20 2024 06:56:13 for FFmpeg by 1.8.11