Files
haiku-beta6/headers/os/net/DataRequest.h
T

30 lines
546 B
C++
Raw Normal View History

2013-12-09 20:26:13 +01:00
/*
* Copyright 2013 Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Adrien Destugues, [email protected]
*/
#ifndef _B_DATA_REQUEST_H_
#define _B_DATA_REQUEST_H_
#include <UrlRequest.h>
class BDataRequest: public BUrlRequest {
public:
BDataRequest(const BUrl& url,
BUrlProtocolListener* listener = NULL,
BUrlContext* context = NULL);
const BUrlResult& Result() const;
private:
status_t _ProtocolLoop();
private:
BUrlResult fResult;
};
#endif