|
| MOCK_METHOD2 (onMessageBegin, void(HTTPCodec::StreamID, HTTPMessage *)) |
|
| MOCK_METHOD3 (onPushMessageBegin, void(HTTPCodec::StreamID, HTTPCodec::StreamID, HTTPMessage *)) |
|
| MOCK_METHOD4 (onExMessageBegin, void(HTTPCodec::StreamID, HTTPCodec::StreamID, bool, HTTPMessage *)) |
|
| MOCK_METHOD2 (onHeadersComplete, void(HTTPCodec::StreamID, std::shared_ptr< HTTPMessage >)) |
|
void | onHeadersComplete (HTTPCodec::StreamID stream, std::unique_ptr< HTTPMessage > msg) override |
|
| MOCK_METHOD3 (onBody, void(HTTPCodec::StreamID, std::shared_ptr< folly::IOBuf >, uint8_t)) |
|
void | onBody (HTTPCodec::StreamID stream, std::unique_ptr< folly::IOBuf > chain, uint16_t padding) override |
|
| MOCK_METHOD2 (onChunkHeader, void(HTTPCodec::StreamID, size_t)) |
|
| MOCK_METHOD1 (onChunkComplete, void(HTTPCodec::StreamID)) |
|
| MOCK_METHOD2 (onTrailersComplete, void(HTTPCodec::StreamID, std::shared_ptr< HTTPHeaders >)) |
|
void | onTrailersComplete (HTTPCodec::StreamID stream, std::unique_ptr< HTTPHeaders > trailers) override |
|
| MOCK_METHOD2 (onMessageComplete, void(HTTPCodec::StreamID, bool)) |
|
| MOCK_METHOD3 (onError, void(HTTPCodec::StreamID, std::shared_ptr< HTTPException >, bool)) |
|
void | onError (HTTPCodec::StreamID stream, const HTTPException &exc, bool newStream) override |
|
| MOCK_METHOD5 (onFrameHeader, void(uint64_t, uint8_t, uint64_t, uint8_t, uint16_t)) |
|
| MOCK_METHOD2 (onAbort, void(HTTPCodec::StreamID, ErrorCode)) |
|
| MOCK_METHOD3 (onGoaway, void(uint64_t, ErrorCode, std::shared_ptr< folly::IOBuf >)) |
|
void | onGoaway (uint64_t lastGoodStreamID, ErrorCode code, std::unique_ptr< folly::IOBuf > debugData) override |
|
| MOCK_METHOD1 (onPingRequest, void(uint64_t)) |
|
| MOCK_METHOD1 (onPingReply, void(uint64_t)) |
|
| MOCK_METHOD2 (onWindowUpdate, void(HTTPCodec::StreamID, uint32_t)) |
|
| MOCK_METHOD1 (onSettings, void(const SettingsList &)) |
|
| MOCK_METHOD0 (onSettingsAck, void()) |
|
| MOCK_METHOD2 (onPriority, void(HTTPCodec::StreamID, const HTTPMessage::HTTPPriority &)) |
|
| MOCK_METHOD2 (onCertificateRequest, void(uint16_t, std::shared_ptr< folly::IOBuf >)) |
|
void | onCertificateRequest (uint16_t requestId, std::unique_ptr< folly::IOBuf > certRequestData) override |
|
| MOCK_METHOD2 (onCertificate, void(uint16_t, std::shared_ptr< folly::IOBuf >)) |
|
void | onCertificate (uint16_t certId, std::unique_ptr< folly::IOBuf > certData) override |
|
| MOCK_METHOD4 (onNativeProtocolUpgrade, bool(HTTPCodec::StreamID, CodecProtocol, const std::string &, HTTPMessage &)) |
|
| MOCK_METHOD4 (onGenerateFrameHeader, void(HTTPCodec::StreamID, uint8_t, uint64_t, uint16_t)) |
|
| MOCK_CONST_METHOD0 (numOutgoingStreams, uint32_t()) |
|
| MOCK_CONST_METHOD0 (numIncomingStreams, uint32_t()) |
|
virtual void | onMessageBegin (StreamID stream, HTTPMessage *msg)=0 |
|
virtual void | onPushMessageBegin (StreamID, StreamID, HTTPMessage *) |
|
virtual void | onExMessageBegin (StreamID, StreamID, bool, HTTPMessage *) |
|
virtual void | onChunkHeader (StreamID, size_t) |
|
virtual void | onChunkComplete (StreamID) |
|
virtual void | onMessageComplete (StreamID stream, bool upgrade)=0 |
|
virtual void | onAbort (StreamID, ErrorCode) |
|
virtual void | onFrameHeader (StreamID, uint8_t, uint64_t, uint8_t, uint16_t=0) |
|
virtual void | onPingRequest (uint64_t) |
|
virtual void | onPingReply (uint64_t) |
|
virtual void | onWindowUpdate (StreamID, uint32_t) |
|
virtual void | onSettings (const SettingsList &) |
|
virtual void | onSettingsAck () |
|
virtual void | onPriority (StreamID, const HTTPMessage::HTTPPriority &) |
|
virtual bool | onNativeProtocolUpgrade (StreamID, CodecProtocol, const std::string &, HTTPMessage &) |
|
virtual void | onGenerateFrameHeader (StreamID, uint8_t, uint64_t, uint16_t=0) |
|
virtual uint32_t | numOutgoingStreams () const |
|
virtual uint32_t | numIncomingStreams () const |
|
virtual | ~Callback () |
|
Definition at line 136 of file MockHTTPCodec.h.
Called upon receipt of an authenticator, for protocols that support secondary certificate authentication.
- Parameters
-
certId | The Cert-ID identifying this authenticator |
authenticator | The authenticator request |
- Note
- Not all protocols support secondary certificate authentication. HTTP/2 does, but HTTP/1.1 doesn't.
Reimplemented from proxygen::HTTPCodec::Callback.
Definition at line 203 of file MockHTTPCodec.h.
References proxygen::MockHTTPCodec::MOCK_CONST_METHOD0(), proxygen::MockHTTPCodec::MOCK_METHOD4(), string, uint16_t, uint32_t, uint64_t, and uint8_t.
205 onCertificate(certId, std::shared_ptr<folly::IOBuf>(certData.release()));
void onCertificate(uint16_t certId, std::unique_ptr< folly::IOBuf > certData) override