A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/ncbi__http__connector_8h_source.html below:

NCBI C++ ToolKit: include/connect/ncbi_http_connector.h Source File

1 #ifndef CONNECT___HTTP_CONNECTOR__H 2 #define CONNECT___HTTP_CONNECTOR__H 41 #ifndef NCBI_DEPRECATED 42 # define NCBI_HTTP_CONNECTOR_DEPRECATED 44 # define NCBI_HTTP_CONNECTOR_DEPRECATED NCBI_DEPRECATED 173  const char

* user_header,

237

(

const char

* http_header,

248 typedef int

(*FHTTP_Adjust)

251  unsigned int

failure_count

369  const void

* init_data,

static void cleanup(void)

void(* FHTTP_NcbiMessageHook)(const char *message)

EIO_Status HTTP_CreateTunnel(const SConnNetInfo *net_info, THTTP_Flags flags, SOCK *sock)

Same as HTTP_CreateTunnelEx(net_info, flags, 0, 0, 0, 0, sock)

CONNECTOR HTTP_CreateConnectorEx(const SConnNetInfo *net_info, THTTP_Flags flags, FHTTP_ParseHeader parse_header, void *user_data, FHTTP_Adjust adjust, FHTTP_Cleanup cleanup)

Create new CONNECTOR structure to hit the specified URL using HTTP with either POST / GET (or ANY) me...

unsigned int THTTP_Flags

Bitwise OR of EHTTP_Flag.

int(* FHTTP_Adjust)(SConnNetInfo *net_info, void *user_data, unsigned int failure_count)

void(* FHTTP_Cleanup)(void *user_data)

CONNECTOR HTTP_CreateConnector(const SConnNetInfo *net_info, const char *user_header, THTTP_Flags flags)

Same as HTTP_CreateConnector(net_info, flags, 0, 0, 0, 0) with the passed "user_header" overriding th...

void HTTP_SetNcbiMessageHook(FHTTP_NcbiMessageHook)

Set a message hook procedure for messages originating from NCBI via HTTP.

EHTTP_HeaderParse

The extended version HTTP_CreateConnectorEx() is able to track the HTTP response chain and also chang...

EHTTP_HeaderParse(* FHTTP_ParseHeader)(const char *http_header, void *user_data, int server_error)

EIO_Status HTTP_CreateTunnelEx(const SConnNetInfo *net_info, THTTP_Flags flags, const void *init_data, size_t init_size, void *user_data, FHTTP_Adjust adjust, SOCK *sock)

Create a tunnel to "net_info->host:net_info->port" via an HTTP proxy server located at "net_info->htt...

EHCC_Flag

DEPRECATED, do not use!

unsigned int THCC_Flags

bitwise OR of EHCC_Flag, deprecated

@ fHTTP_DropUnread

Each microsession drops unread data.

@ fHTTP_AdjustOnRedirect

Call adjust routine for redirects, too.

@ fHTTP_NoUpread

Do not use SOCK_SetReadOnWrite()

@ fHTTP_NoAutoRetry

No auto-retries allowed.

@ fHTTP_AutoReconnect

See HTTP_CreateConnectorEx()

@ fHTTP_KeepHeader

Keep HTTP header (see limitations)

@ fHTTP_NoAutomagicSID

Do not add NCBI SID automagically.

@ fHTTP_SuppressMessages

Most annoying ones reduced to traces.

@ fHTTP_UnsafeRedirects

Any redirect will be honored.

@ fHTTP_Flushable

Connector will really flush on Flush()

@ fHTTP_PushAuth

HTTP/1.1 pushes out auth if present.

@ fHTTP_WriteThru

HTTP/1.1 writes through (chunked)

@ eHTTP_HeaderSuccess

Parse succeeded, retain server status.

@ eHTTP_HeaderError

Parse failed, treat as a server error.

@ eHTTP_HeaderContinue

Parse succeeded, continue with body.

@ eHTTP_HeaderComplete

Parse succeeded, no more processing.

@ fHCC_UrlEncodeOutput

Obsolete, may not work, do not use!

@ fHCC_UrlCodec

fHCC_UrlDecodeInput | ...EncodeOutput

@ fHCC_UrlDecodeInput

Obsolete, may not work, do not use!

@ fHCC_UrlEncodeArgs

NB: Error-prone semantics, do not use!

#define NCBI_XCONNECT_EXPORT

#define NCBI_HTTP_CONNECTOR_DEPRECATED


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4