Classes | Macros | Typedefs | Functions | Variables
http.h File Reference
#include "curl_setup.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.

Classes

struct  HTTP::back
 
struct  Curl_send_buffer
 
struct  HTTP
 
struct  http_conn
 

Macros

#define CURLAUTH_PICKNONE   (1<<30) /* don't use auth */
 
#define EXPECT_100_THRESHOLD   1024
 
#define MAX_INITIAL_POST_SIZE   (64*1024)
 

Typedefs

typedef struct Curl_send_buffer Curl_send_buffer
 
typedef int(* recving) (void)
 
typedef int(* sending) (void)
 

Functions

CURLcode Curl_add_buffer (Curl_send_buffer *in, const void *inptr, size_t size)
 
void Curl_add_buffer_free (Curl_send_buffer *buff)
 
Curl_send_bufferCurl_add_buffer_init (void)
 
CURLcode Curl_add_buffer_send (Curl_send_buffer *in, struct connectdata *conn, long *bytes_written, size_t included_body_bytes, int socketindex)
 
CURLcode Curl_add_bufferf (Curl_send_buffer *in, const char *fmt,...)
 
CURLcode Curl_add_custom_headers (struct connectdata *conn, bool is_connect, Curl_send_buffer *req_buffer)
 
CURLcode Curl_add_timecondition (struct Curl_easy *data, Curl_send_buffer *buf)
 
char * Curl_checkProxyheaders (const struct connectdata *conn, const char *thisheader)
 
bool Curl_compareheader (const char *headerline, const char *header, const char *content)
 
char * Curl_copy_header_value (const char *header)
 
CURLcode Curl_http (struct connectdata *conn, bool *done)
 
CURLcode Curl_http_auth_act (struct connectdata *conn)
 
void Curl_http_auth_stage (struct Curl_easy *data, int stage)
 
CURLcode Curl_http_connect (struct connectdata *conn, bool *done)
 
CURLcode Curl_http_done (struct connectdata *, CURLcode, bool premature)
 
CURLcode Curl_http_input_auth (struct connectdata *conn, bool proxy, const char *auth)
 
CURLcode Curl_http_output_auth (struct connectdata *conn, const char *request, const char *path, bool proxytunnel)
 Curl_http_output_auth() setups the authentication headers for the host/proxy and the correct authentication method. More...
 
CURLcode Curl_http_perhapsrewind (struct connectdata *conn)
 
CURLcode Curl_http_readwrite_headers (struct Curl_easy *data, struct connectdata *conn, ssize_t *nread, bool *stop_reading)
 
CURLcode Curl_http_setup_conn (struct connectdata *conn)
 
void Curl_httpchunk_init (struct connectdata *conn)
 
CHUNKcode Curl_httpchunk_read (struct connectdata *conn, char *datap, ssize_t length, ssize_t *wrote)
 

Variables

const struct Curl_handler Curl_handler_http
 

Macro Definition Documentation

#define CURLAUTH_PICKNONE   (1<<30) /* don't use auth */

Definition at line 98 of file http.h.

#define EXPECT_100_THRESHOLD   1024

Definition at line 122 of file http.h.

#define MAX_INITIAL_POST_SIZE   (64*1024)

Definition at line 113 of file http.h.

Typedef Documentation

Definition at line 58 of file http.h.

typedef int(* recving) (void)

Definition at line 192 of file http.h.

typedef int(* sending) (void)

Definition at line 191 of file http.h.

Function Documentation

CURLcode Curl_add_buffer ( Curl_send_buffer in,
const void *  inptr,
size_t  size 
)

Definition at line 1223 of file http.c.

void Curl_add_buffer_free ( Curl_send_buffer buff)

Definition at line 1037 of file http.c.

Curl_send_buffer* Curl_add_buffer_init ( void  )

Definition at line 1029 of file http.c.

CURLcode Curl_add_buffer_send ( Curl_send_buffer in,
struct connectdata conn,
long *  bytes_written,
size_t  included_body_bytes,
int  socketindex 
)

Definition at line 1050 of file http.c.

CURLcode Curl_add_bufferf ( Curl_send_buffer in,
const char *  fmt,
  ... 
)

Definition at line 1201 of file http.c.

CURLcode Curl_add_custom_headers ( struct connectdata conn,
bool  is_connect,
Curl_send_buffer req_buffer 
)

Definition at line 1559 of file http.c.

CURLcode Curl_add_timecondition ( struct Curl_easy data,
Curl_send_buffer buf 
)

Definition at line 1684 of file http.c.

char* Curl_checkProxyheaders ( const struct connectdata conn,
const char *  thisheader 
)

Definition at line 185 of file http.c.

bool Curl_compareheader ( const char *  headerline,
const char *  header,
const char *  content 
)

Definition at line 1285 of file http.c.

char* Curl_copy_header_value ( const char *  header)

Definition at line 208 of file http.c.

CURLcode Curl_http ( struct connectdata conn,
bool done 
)

Definition at line 1748 of file http.c.

CURLcode Curl_http_auth_act ( struct connectdata conn)

Definition at line 476 of file http.c.

void Curl_http_auth_stage ( struct Curl_easy data,
int  stage 
)
CURLcode Curl_http_connect ( struct connectdata conn,
bool done 
)

Definition at line 1337 of file http.c.

CURLcode Curl_http_done ( struct connectdata ,
CURLcode  ,
bool  premature 
)

Definition at line 1415 of file http.c.

CURLcode Curl_http_input_auth ( struct connectdata conn,
bool  proxy,
const char *  auth 
)

Definition at line 734 of file http.c.

CURLcode Curl_http_output_auth ( struct connectdata conn,
const char *  request,
const char *  path,
bool  proxytunnel 
)

Curl_http_output_auth() setups the authentication headers for the host/proxy and the correct authentication method.

conn->data->state.authdone is set to TRUE when authentication is done.

Parameters
connall information about the current connection
requestpointer to the request keyword
pathpointer to the requested path
proxytunnelboolean if this is the request setting up a "proxy tunnel"
Returns
CURLcode

Definition at line 660 of file http.c.

CURLcode Curl_http_perhapsrewind ( struct connectdata conn)
CURLcode Curl_http_readwrite_headers ( struct Curl_easy data,
struct connectdata conn,
ssize_t nread,
bool stop_reading 
)

Definition at line 2948 of file http.c.

CURLcode Curl_http_setup_conn ( struct connectdata conn)

Definition at line 155 of file http.c.

void Curl_httpchunk_init ( struct connectdata conn)

Definition at line 86 of file http_chunks.c.

CHUNKcode Curl_httpchunk_read ( struct connectdata conn,
char *  datap,
ssize_t  length,
ssize_t wrote 
)

Definition at line 105 of file http_chunks.c.

Variable Documentation

const struct Curl_handler Curl_handler_http

Definition at line 108 of file http.c.



rc_tagdetect_client
Author(s): Monika Florek-Jasinska , Raphael Schaller
autogenerated on Sat Feb 13 2021 03:42:17