FFmpeg  4.0
Data Fields
HTTPContext Struct Reference

Data Fields

const AVClassclass
 
URLContexthd
 
unsigned char buffer [BUFFER_SIZE]
 
unsigned char * buf_ptr
 
unsigned char * buf_end
 
int line_count
 
int http_code
 
uint64_t chunksize
 
int chunkend
 
uint64_t off
 
uint64_t end_off
 
uint64_t filesize
 
char * location
 
HTTPAuthState auth_state
 
HTTPAuthState proxy_auth_state
 
char * http_proxy
 
char * headers
 
char * mime_type
 
char * http_version
 
char * user_agent
 
char * referer
 
char * content_type
 
int willclose
 
int seekable
 Control seekability, 0 = disable, 1 = enable, -1 = probe. More...
 
int chunked_post
 
int end_chunked_post
 
int end_header
 
int multiple_requests
 
uint8_tpost_data
 
int post_datalen
 
int is_akamai
 
int is_mediagateway
 
char * cookies
 holds newline (
) delimited Set-Cookie header field values (without the "Set-Cookie: " field name) More...
 
AVDictionarycookie_dict
 
int icy
 
uint64_t icy_data_read
 
uint64_t icy_metaint
 
char * icy_metadata_headers
 
char * icy_metadata_packet
 
AVDictionarymetadata
 
AVDictionarychained_options
 
int send_expect_100
 
char * method
 
int reconnect
 
int reconnect_at_eof
 
int reconnect_streamed
 
int reconnect_delay_max
 
int listen
 
char * resource
 
int reply_code
 
int is_multi_client
 
HandshakeState handshake_step
 
int is_connected_server
 

Detailed Description

Definition at line 61 of file http.c.

Field Documentation

◆ class

const AVClass* HTTPContext::class

Definition at line 62 of file http.c.

◆ hd

URLContext* HTTPContext::hd

◆ buffer

unsigned char HTTPContext::buffer[BUFFER_SIZE]

Definition at line 64 of file http.c.

Referenced by http_connect(), http_getc(), and http_seek_internal().

◆ buf_ptr

unsigned char * HTTPContext::buf_ptr

Definition at line 64 of file http.c.

Referenced by http_buf_read(), http_connect(), http_getc(), and http_seek_internal().

◆ buf_end

unsigned char * HTTPContext::buf_end

Definition at line 64 of file http.c.

Referenced by http_buf_read(), http_connect(), http_getc(), and http_seek_internal().

◆ line_count

int HTTPContext::line_count

Definition at line 65 of file http.c.

Referenced by http_connect(), and http_read_header().

◆ http_code

int HTTPContext::http_code

Definition at line 66 of file http.c.

Referenced by http_connect(), http_open_cnx(), and process_line().

◆ chunksize

uint64_t HTTPContext::chunksize

Definition at line 68 of file http.c.

Referenced by http_buf_read(), http_read_header(), and process_line().

◆ chunkend

int HTTPContext::chunkend

Definition at line 69 of file http.c.

Referenced by ff_http_do_new_request(), and http_buf_read().

◆ off

uint64_t HTTPContext::off

◆ end_off

uint64_t HTTPContext::end_off

Definition at line 70 of file http.c.

Referenced by http_buf_read(), and http_connect().

◆ filesize

uint64_t HTTPContext::filesize

◆ location

char* HTTPContext::location

Definition at line 71 of file http.c.

Referenced by ff_http_do_new_request(), http_open(), http_open_cnx_internal(), and parse_location().

◆ auth_state

HTTPAuthState HTTPContext::auth_state

Definition at line 72 of file http.c.

Referenced by check_http_code(), http_connect(), http_open_cnx(), and process_line().

◆ proxy_auth_state

HTTPAuthState HTTPContext::proxy_auth_state

Definition at line 73 of file http.c.

Referenced by check_http_code(), http_connect(), http_open_cnx(), and process_line().

◆ http_proxy

char* HTTPContext::http_proxy

Definition at line 74 of file http.c.

Referenced by http_open_cnx_internal().

◆ headers

char* HTTPContext::headers

Definition at line 75 of file http.c.

Referenced by http_connect(), http_open(), and http_write_reply().

◆ mime_type

char* HTTPContext::mime_type

Definition at line 76 of file http.c.

Referenced by process_line().

◆ http_version

char* HTTPContext::http_version

Definition at line 77 of file http.c.

Referenced by process_line().

◆ user_agent

char* HTTPContext::user_agent

Definition at line 78 of file http.c.

Referenced by http_connect().

◆ referer

char* HTTPContext::referer

Definition at line 79 of file http.c.

Referenced by http_connect().

◆ content_type

char* HTTPContext::content_type

Definition at line 83 of file http.c.

Referenced by http_connect(), and http_write_reply().

◆ willclose

int HTTPContext::willclose

Definition at line 86 of file http.c.

Referenced by ff_http_do_new_request(), http_buf_read(), http_connect(), and process_line().

◆ seekable

int HTTPContext::seekable

Control seekability, 0 = disable, 1 = enable, -1 = probe.

Definition at line 87 of file http.c.

Referenced by http_connect(), http_open(), http_read_header(), parse_content_range(), and process_line().

◆ chunked_post

int HTTPContext::chunked_post

Definition at line 88 of file http.c.

Referenced by http_connect(), http_shutdown(), http_write(), and http_write_reply().

◆ end_chunked_post

int HTTPContext::end_chunked_post

◆ end_header

int HTTPContext::end_header

Definition at line 92 of file http.c.

Referenced by http_connect(), http_read_stream(), and process_line().

◆ multiple_requests

int HTTPContext::multiple_requests

Definition at line 94 of file http.c.

Referenced by http_buf_read(), and http_connect().

◆ post_data

uint8_t* HTTPContext::post_data

Definition at line 95 of file http.c.

Referenced by http_connect().

◆ post_datalen

int HTTPContext::post_datalen

Definition at line 96 of file http.c.

Referenced by http_connect().

◆ is_akamai

int HTTPContext::is_akamai

Definition at line 97 of file http.c.

Referenced by parse_content_range(), and process_line().

◆ is_mediagateway

int HTTPContext::is_mediagateway

Definition at line 98 of file http.c.

Referenced by http_read_header(), and process_line().

◆ cookies

char* HTTPContext::cookies

holds newline (
) delimited Set-Cookie header field values (without the "Set-Cookie: " field name)

Definition at line 99 of file http.c.

Referenced by get_cookies(), http_connect(), and http_read_header().

◆ cookie_dict

AVDictionary* HTTPContext::cookie_dict

Definition at line 101 of file http.c.

Referenced by get_cookies(), http_read_header(), and process_line().

◆ icy

int HTTPContext::icy

Definition at line 102 of file http.c.

Referenced by http_connect().

◆ icy_data_read

uint64_t HTTPContext::icy_data_read

Definition at line 104 of file http.c.

Referenced by ff_http_do_new_request(), http_connect(), http_read(), and store_icy().

◆ icy_metaint

uint64_t HTTPContext::icy_metaint

Definition at line 106 of file http.c.

Referenced by http_read(), process_line(), and store_icy().

◆ icy_metadata_headers

char* HTTPContext::icy_metadata_headers

Definition at line 107 of file http.c.

Referenced by parse_icy().

◆ icy_metadata_packet

char* HTTPContext::icy_metadata_packet

Definition at line 108 of file http.c.

◆ metadata

AVDictionary* HTTPContext::metadata

Definition at line 109 of file http.c.

Referenced by parse_icy(), and update_metadata().

◆ chained_options

AVDictionary* HTTPContext::chained_options

Definition at line 115 of file http.c.

Referenced by http_close(), http_listen(), http_open(), and http_open_cnx().

◆ send_expect_100

int HTTPContext::send_expect_100

Definition at line 116 of file http.c.

Referenced by http_connect().

◆ method

char* HTTPContext::method

Definition at line 117 of file http.c.

Referenced by http_connect(), and process_line().

◆ reconnect

int HTTPContext::reconnect

Definition at line 118 of file http.c.

Referenced by http_read_stream().

◆ reconnect_at_eof

int HTTPContext::reconnect_at_eof

Definition at line 119 of file http.c.

Referenced by http_read_stream().

◆ reconnect_streamed

int HTTPContext::reconnect_streamed

Definition at line 120 of file http.c.

Referenced by http_read_stream().

◆ reconnect_delay_max

int HTTPContext::reconnect_delay_max

Definition at line 121 of file http.c.

Referenced by http_read_stream().

◆ listen

int HTTPContext::listen

Definition at line 122 of file http.c.

Referenced by http_accept(), http_listen(), http_open(), and http_shutdown().

◆ resource

char* HTTPContext::resource

Definition at line 123 of file http.c.

Referenced by process_line().

◆ reply_code

int HTTPContext::reply_code

Definition at line 124 of file http.c.

Referenced by http_handshake(), http_listen(), and http_write_reply().

◆ is_multi_client

int HTTPContext::is_multi_client

Definition at line 125 of file http.c.

Referenced by http_accept().

◆ handshake_step

HandshakeState HTTPContext::handshake_step

Definition at line 126 of file http.c.

Referenced by http_handshake(), and http_listen().

◆ is_connected_server

int HTTPContext::is_connected_server

Definition at line 127 of file http.c.

Referenced by http_handshake(), and process_line().


The documentation for this struct was generated from the following file: