foo
This commit is contained in:
parent
600d7146d3
commit
462f2811b9
9 changed files with 9 additions and 14 deletions
|
|
@ -5,12 +5,12 @@
|
|||
|
||||
namespace http {
|
||||
|
||||
#define HTTPSenderInterfaceIID "bigsnitch.api.HTTPSenderInterface/100"
|
||||
#define HTTPSenderInterfaceIID "bigsnitch.api.HTTPInterceptorInterface/100"
|
||||
|
||||
class SenderInterface {
|
||||
class InterceptorInterface {
|
||||
|
||||
public:
|
||||
virtual ~SenderInterface() = default;
|
||||
virtual ~InterceptorInterface() = default;
|
||||
virtual int send(http::Request request);
|
||||
virtual bool received(int id);
|
||||
virtual std::optional<http::Response> receive(int id);
|
||||
|
|
@ -18,4 +18,4 @@ public:
|
|||
|
||||
}
|
||||
|
||||
Q_DECLARE_INTERFACE(http::SenderInterface, HTTPSenderInterfaceIID)
|
||||
Q_DECLARE_INTERFACE(http::InterceptorInterface, HTTPInterceptorInterfaceIID)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue