Medial Code Documentation
Loading...
Searching...
No Matches
Data Structures | Functions
dmlc::io::s3 Namespace Reference

namespace for helper utils More...

Data Structures

struct  CURLGlobal
 
class  CURLReadStreamBase
 reader stream that can be used to read from CURL More...
 
class  HttpReadStream
 simple http read stream to check More...
 
class  ReadStream
 reader stream that can be used to read More...
 
struct  ReadStringStream
 
class  WriteStream
 
struct  XMLIter
 

Functions

std::string URIEncode (const std::string &str, bool encodeSlash=true)
 
const char * RemoveBeginSlash (const std::string &name)
 
bool FindHttpError (const std::string &header)
 
size_t WriteSStreamCallback (char *buf, size_t size, size_t count, void *fp)
 
size_t WriteStringCallback (char *buf, size_t size, size_t count, void *fp)
 
std::string getEndpoint (std::string region_name)
 

Detailed Description

namespace for helper utils

Function Documentation

◆ URIEncode()

std::string dmlc::io::s3::URIEncode ( const std::string &  str,
bool  encodeSlash = true 
)

Encoding as required by SIG4

Parameters
strstring to encode
encodeSlashwhether or not to encode slash (/) character
Returns