|
Shaka Player Embedded
|
#include <net.h>
Classes | |
| class | Impl |
Public Member Functions | |
| ~Response () | |
| Response (const Response &)=delete | |
| Response & | operator= (const Response &)=delete |
| Response (Response &&)=delete | |
| Response & | operator= (Response &&)=delete |
| const uint8_t * | data () const |
| size_t | data_size () const |
| void | SetDataCopy (const uint8_t *data, size_t size) |
Public Attributes | |
| std::string | uri |
| std::string | originalUri |
| std::unordered_map< std::string, std::string > | headers |
| optional< double > | timeMs |
| optional< bool > | fromCache |
Friends | |
| class | JsManager |
| class | Player |
Defines a response object. This includes the response data and header info. This is given back from the scheme plugin. This is passed to a response filter before being returned from the request call.
| shaka::Response::~Response | ( | ) |
Definition at line 73 of file net_public.cc.
|
delete |
|
delete |
| const uint8_t * shaka::Response::data | ( | ) | const |
Definition at line 75 of file net_public.cc.
| size_t shaka::Response::data_size | ( | ) | const |
Definition at line 79 of file net_public.cc.
| void shaka::Response::SetDataCopy | ( | const uint8_t * | data, |
| size_t | size | ||
| ) |
Sets the body of the response to a copy of the given data.
Definition at line 83 of file net_public.cc.
| optional<bool> shaka::Response::fromCache |
| std::unordered_map<std::string, std::string> shaka::Response::headers |
| std::string shaka::Response::originalUri |
| optional<double> shaka::Response::timeMs |
| std::string shaka::Response::uri |
1.8.13