2013-10-08 13:30:56 +04:00
|
|
|
/*
|
|
|
|
* Copyright 2013 Haiku Inc. All rights reserved.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _B_URL_ROSTER_H_
|
|
|
|
#define _B_URL_ROSTER_H_
|
|
|
|
|
|
|
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
|
2020-07-25 07:45:42 +03:00
|
|
|
class BDataIO;
|
2013-10-08 13:30:56 +04:00
|
|
|
class BUrl;
|
2021-01-22 17:20:19 +03:00
|
|
|
|
2021-09-11 10:09:44 +03:00
|
|
|
|
2021-01-22 17:20:19 +03:00
|
|
|
namespace BPrivate {
|
|
|
|
|
|
|
|
namespace Network {
|
2021-09-11 10:09:44 +03:00
|
|
|
|
2021-01-22 17:20:19 +03:00
|
|
|
|
2013-10-08 13:30:56 +04:00
|
|
|
class BUrlContext;
|
|
|
|
class BUrlProtocolListener;
|
|
|
|
class BUrlRequest;
|
|
|
|
|
|
|
|
class BUrlProtocolRoster {
|
|
|
|
public:
|
2020-07-25 07:45:42 +03:00
|
|
|
static BUrlRequest* MakeRequest(const BUrl& url, BDataIO* output,
|
|
|
|
BUrlProtocolListener* listener = NULL,
|
|
|
|
BUrlContext* context = NULL);
|
2013-10-08 13:30:56 +04:00
|
|
|
};
|
|
|
|
|
2021-09-11 10:09:44 +03:00
|
|
|
|
2021-01-22 17:20:19 +03:00
|
|
|
} // namespace Network
|
|
|
|
|
|
|
|
} // namespace BPrivate
|
|
|
|
|
2021-09-11 10:09:44 +03:00
|
|
|
#endif // _B_URL_ROSTER_H_
|