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/fetch__url_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/utils/fetch_url.cpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

87  unsigned char

digest[16];

95

md5_str.append((

char

*)&(digest[0]),

sizeof

(digest));

107  "User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; " 108  "Windows NT 5.0; (R1 1.1))"

;

116  while

(!http.fail()) {

117

http.read(

buf

, 1024);

121  if

(is_cache && !

result

.empty()) {

Checksum and hash calculation classes.

CChecksum – Checksum calculator.

This stream exchanges data with an HTTP server located at the URL: http[s]://host[:port]/path[?...

URL fetch cache (MT safe)

void Set(const string &key, const string &result)

map< string, string > m_Map

bool Get(const string &key, string &result) const

const_iterator end() const

const_iterator find(const key_type &key) const

static CURLFetchCache s_url_cache

void AddLine(const char *line, size_t len)

void GetMD5Digest(unsigned char digest[16]) const

Return calculated MD5 digest.

@ fHTTP_AutoReconnect

See HTTP_CreateConnectorEx()

static void Fetch(const string &url, string &result, const STimeout *timeout=kDefaultTimeout, bool is_cache=false)

Fetch a URL from the net using http GET.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

const struct ncbi::grid::netcache::search::fields::KEY key

Multi-threading – mutexes; rw-locks; semaphore.


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