Apache Mesos
Namespaces | Functions
net.hpp File Reference
#include <netdb.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <arpa/inet.h>
#include <sys/param.h>
#include <curl/curl.h>
#include <iostream>
#include <set>
#include <string>
#include <stout/bytes.hpp>
#include <stout/duration.hpp>
#include <stout/error.hpp>
#include <stout/ip.hpp>
#include <stout/option.hpp>
#include <stout/stringify.hpp>
#include <stout/try.hpp>
#include <stout/os/int_fd.hpp>
#include <stout/os/close.hpp>
#include <stout/os/open.hpp>
#include <stout/posix/net.hpp>

Go to the source code of this file.

Namespaces

 net
 

Functions

void net::initialize ()
 
Try< Bytesnet::contentLength (const std::string &url)
 
Try< int > net::download (const std::string &url, const std::string &path, const Option< Duration > &stall_timeout=None())