Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
grpc::testing::Http2Client Class Reference

#include <http2_client.h>

Classes

class  ServiceStub
 

Public Member Functions

bool DoGoaway ()
 
bool DoMaxStreams ()
 
bool DoPing ()
 
bool DoRstAfterData ()
 
bool DoRstAfterHeader ()
 
bool DoRstDuringData ()
 
 Http2Client (const std::shared_ptr< Channel > &channel)
 
 ~Http2Client ()
 

Private Member Functions

bool AssertStatusCode (const Status &s, StatusCode expected_code)
 
SimpleRequest BuildDefaultRequest ()
 
void MaxStreamsWorker (const std::shared_ptr< grpc::Channel > &channel)
 
Status SendUnaryCall (SimpleResponse *response)
 

Private Attributes

std::shared_ptr< Channelchannel_
 
SimpleRequest defaultRequest_
 
ServiceStub serviceStub_
 

Detailed Description

Definition at line 33 of file http2_client.h.

Constructor & Destructor Documentation

◆ Http2Client()

grpc::testing::Http2Client::Http2Client ( const std::shared_ptr< Channel > &  channel)
explicit

Definition at line 52 of file http2_client.cc.

◆ ~Http2Client()

grpc::testing::Http2Client::~Http2Client ( )
inline

Definition at line 36 of file http2_client.h.

Member Function Documentation

◆ AssertStatusCode()

bool grpc::testing::Http2Client::AssertStatusCode ( const Status s,
StatusCode  expected_code 
)
private

Definition at line 57 of file http2_client.cc.

◆ BuildDefaultRequest()

SimpleRequest grpc::testing::Http2Client::BuildDefaultRequest ( )
private

Definition at line 72 of file http2_client.cc.

◆ DoGoaway()

bool grpc::testing::Http2Client::DoGoaway ( )

Definition at line 113 of file http2_client.cc.

◆ DoMaxStreams()

bool grpc::testing::Http2Client::DoMaxStreams ( )

Definition at line 151 of file http2_client.cc.

◆ DoPing()

bool grpc::testing::Http2Client::DoPing ( )

Definition at line 133 of file http2_client.cc.

◆ DoRstAfterData()

bool grpc::testing::Http2Client::DoRstAfterData ( )

Definition at line 91 of file http2_client.cc.

◆ DoRstAfterHeader()

bool grpc::testing::Http2Client::DoRstAfterHeader ( )

Definition at line 80 of file http2_client.cc.

◆ DoRstDuringData()

bool grpc::testing::Http2Client::DoRstDuringData ( )

Definition at line 102 of file http2_client.cc.

◆ MaxStreamsWorker()

void grpc::testing::Http2Client::MaxStreamsWorker ( const std::shared_ptr< grpc::Channel > &  channel)
private

Definition at line 143 of file http2_client.cc.

◆ SendUnaryCall()

Status grpc::testing::Http2Client::SendUnaryCall ( SimpleResponse *  response)
private

Definition at line 67 of file http2_client.cc.

Member Data Documentation

◆ channel_

std::shared_ptr<Channel> grpc::testing::Http2Client::channel_
private

Definition at line 62 of file http2_client.h.

◆ defaultRequest_

SimpleRequest grpc::testing::Http2Client::defaultRequest_
private

Definition at line 63 of file http2_client.h.

◆ serviceStub_

ServiceStub grpc::testing::Http2Client::serviceStub_
private

Definition at line 61 of file http2_client.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:34