GRPC C++
1.13.0-dev
|
#include <async_generic_service.h>
Public Member Functions | |
const grpc::string & | method () const |
const grpc::string & | host () const |
![]() | |
ServerContext () | |
~ServerContext () | |
std::chrono::system_clock::time_point | deadline () const |
Return the deadline for the server call. More... | |
gpr_timespec | raw_deadline () const |
Return a gpr_timespec representation of the server call's deadline. More... | |
void | AddInitialMetadata (const grpc::string &key, const grpc::string &value) |
Add the (meta_key, meta_value) pair to the initial metadata associated with a server call. More... | |
void | AddTrailingMetadata (const grpc::string &key, const grpc::string &value) |
Add the (meta_key, meta_value) pair to the initial metadata associated with a server call. More... | |
bool | IsCancelled () const |
IsCancelled is always safe to call when using sync API. More... | |
void | TryCancel () const |
Cancel the Call from the server. More... | |
const std::multimap< grpc::string_ref, grpc::string_ref > & | client_metadata () const |
Return a collection of initial metadata key-value pairs sent from the client. More... | |
grpc_compression_level | compression_level () const |
Return the compression algorithm to be used by the server call. More... | |
void | set_compression_level (grpc_compression_level level) |
Set algorithm to be the compression algorithm used for the server call. More... | |
bool | compression_level_set () const |
Return a bool indicating whether the compression level for this call has been set (either implicitly or through a previous call to set_compression_level. More... | |
grpc_compression_algorithm | compression_algorithm () const |
Return the compression algorithm the server call will request be used. More... | |
void | set_compression_algorithm (grpc_compression_algorithm algorithm) |
Set algorithm to be the compression algorithm used for the server call. More... | |
void | SetLoadReportingCosts (const std::vector< grpc::string > &cost_data) |
Set the load reporting costs in cost_data for the call. More... | |
std::shared_ptr< const AuthContext > | auth_context () const |
Return the authentication context for this server call. More... | |
grpc::string | peer () const |
Return the peer uri in a string. More... | |
const struct census_context * | census_context () const |
Get the census context associated with this server call. More... | |
void | AsyncNotifyWhenDone (void *tag) |
Async only. More... | |
grpc_call * | c_call () |
Should be used for framework-level extensions only. More... | |
Friends | |
class | Server |
class | ServerInterface |
|
inline |
|
inline |
|
friend |
|
friend |