Shaka Player Embedded
|
#include <net.h>
Classes | |
class | Impl |
Public Member Functions | |
~Request () | |
Request (const Request &)=delete | |
Request & | operator= (const Request &)=delete |
Request (Request &&)=delete | |
Request & | operator= (Request &&)=delete |
const uint8_t * | body () const |
size_t | body_size () const |
void | SetBodyCopy (const uint8_t *data, size_t size) |
Public Attributes | |
std::vector< std::string > | uris |
std::string | method |
std::unordered_map< std::string, std::string > | headers |
Friends | |
class | JsManager |
class | Player |
Defines a network request. This is passed to one or more request filters that may alter the request, then it is passed to a scheme plugin which performs the actual operation.
shaka::Request::~Request | ( | ) |
Definition at line 28 of file net_public.cc.
|
delete |
|
delete |
const uint8_t * shaka::Request::body | ( | ) | const |
Definition at line 30 of file net_public.cc.
size_t shaka::Request::body_size | ( | ) | const |
Definition at line 36 of file net_public.cc.
void shaka::Request::SetBodyCopy | ( | const uint8_t * | data, |
size_t | size | ||
) |
Sets the body of the request to a copy of the given data. Can be called with nullptr to not send any data.
Definition at line 42 of file net_public.cc.
std::unordered_map<std::string, std::string> shaka::Request::headers |
std::string shaka::Request::method |
std::vector<std::string> shaka::Request::uris |