IHttpHeaderProvider.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------------------+
2 |
3 | Supplied under applicable software license agreement.
4 |
5 | Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
6 |
7 +---------------------------------------------------------------------------------------*/
8 #pragma once
9 
10 #include <BeHttp/HttpHeaders.h>
11 
13 
14 /*--------------------------------------------------------------------------------------+
15 * @bsiclass Bentley Systems
16 +---------------+---------------+---------------+---------------+---------------+------*/
17 typedef std::shared_ptr<struct IHttpHeaderProvider> IHttpHeaderProviderPtr;
19  {
20  virtual ~IHttpHeaderProvider (){}
21 
23  virtual void FillHttpRequestHeaders (HttpRequestHeaders& headersOut) const = 0;
24  };
25 
#define BEGIN_BENTLEY_HTTP_NAMESPACE
Definition: Http.h:17
virtual ~IHttpHeaderProvider()
Definition: IHttpHeaderProvider.h:20
virtual void FillHttpRequestHeaders(HttpRequestHeaders &headersOut) const =0
Set default header values. Should be thread safe as can be called in any thread that creates requests...
Definition: IHttpHeaderProvider.h:18
Definition: HttpHeaders.h:64
BEGIN_BENTLEY_HTTP_NAMESPACE typedef std::shared_ptr< struct IHttpHeaderProvider > IHttpHeaderProviderPtr
Definition: IHttpHeaderProvider.h:17
#define END_BENTLEY_HTTP_NAMESPACE
Definition: Http.h:18

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.