Fix FreeBSD build.
[haiku.git] / headers / os / net / DataRequest.h
blob9e5f5469711ac43c9bf6e3ce18bf0bc983f48341
1 /*
2 * Copyright 2013 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Adrien Destugues, pulkomandy@pulkomandy.tk
7 */
10 #ifndef _B_DATA_REQUEST_H_
11 #define _B_DATA_REQUEST_H_
14 #include <UrlRequest.h>
17 class BDataRequest: public BUrlRequest {
18 public:
19 BDataRequest(const BUrl& url,
20 BUrlProtocolListener* listener = NULL,
21 BUrlContext* context = NULL);
22 const BUrlResult& Result() const;
23 private:
24 status_t _ProtocolLoop();
25 private:
26 BUrlResult fResult;
29 #endif