TensorFlow Serving C++ API Documentation
Public Member Functions | List of all members
tensorflow::serving::net_http::EvHTTPRequest Class Referencefinal
Inheritance diagram for tensorflow::serving::net_http::EvHTTPRequest:
Inheritance graph
[legend]
Collaboration diagram for tensorflow::serving::net_http::EvHTTPRequest:
Collaboration graph
[legend]

Public Member Functions

 EvHTTPRequest (const EvHTTPRequest &other)=delete
 
EvHTTPRequestoperator= (const EvHTTPRequest &other)=delete
 
 EvHTTPRequest (std::unique_ptr< ParsedEvRequest > request, ServerSupport *server)
 
absl::string_view uri_path () const override
 
absl::string_view http_method () const override
 
void WriteResponseBytes (const char *data, int64_t size) override
 
void WriteResponseString (absl::string_view data) override
 
std::unique_ptr< char[], ServerRequestInterface::BlockDeleterReadRequestBytes (int64_t *size) override
 
absl::string_view GetRequestHeader (absl::string_view header) const override
 
std::vector< absl::string_view > request_headers () const override
 
void OverwriteResponseHeader (absl::string_view header, absl::string_view value) override
 
void AppendResponseHeader (absl::string_view header, absl::string_view value) override
 
void PartialReplyWithStatus (HTTPStatusCode status) override
 
void PartialReply () override
 
CallbackStatus PartialReplyWithFlushCallback (std::function< void()> callback) override
 
void ReplyWithStatus (HTTPStatusCode status) override
 
void Reply () override
 
void Abort () override
 
bool Initialize ()
 
void SetHandlerOptions (const RequestHandlerOptions &handler_options)
 
- Public Member Functions inherited from tensorflow::serving::net_http::ServerRequestInterface
 ServerRequestInterface (const ServerRequestInterface &other)=delete
 
ServerRequestInterfaceoperator= (const ServerRequestInterface &other)=delete
 
virtual BodyStatus response_body_status ()
 
virtual BodyStatus request_body_status ()
 

Additional Inherited Members

- Public Types inherited from tensorflow::serving::net_http::ServerRequestInterface
enum class  BodyStatus { PENDING = 0 , COMPLETE = 1 , FAILED = 2 }
 
enum class  CallbackStatus { NOT_SCHEDULED = 0 , SCHEDULED = 1 }
 

Detailed Description

Definition at line 65 of file evhttp_request.h.


The documentation for this class was generated from the following files: