mirror of
https://review.haiku-os.org/haiku
synced 2025-01-19 04:58:51 +01:00
094b8dcf70
Change-Id: I6f9444665e061047bfb024ac0274b69fa1396912
43 lines
1.2 KiB
Plaintext
43 lines
1.2 KiB
Plaintext
/*
|
|
* Copyright 2020 Haiku, Inc. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*
|
|
* Authors:
|
|
* Leorize, leorize+oss@disroot.org
|
|
*
|
|
* Corresponds to:
|
|
* headers/private/netservices/UrlProtocolRoster.h hrev54923
|
|
* src/kits/network/libnetservices/UrlProtocolRoster.cpp hrev54923
|
|
*/
|
|
|
|
|
|
/*!
|
|
\file UrlProtocolRoster.h
|
|
\ingroup netservices
|
|
\brief Provides the BUrlProtocolRoster interface.
|
|
*/
|
|
|
|
|
|
/*!
|
|
\class BPrivate::Network::BUrlProtocolRoster
|
|
\ingroup netservices
|
|
\brief Interfaces for protocol-agnostic operations.
|
|
*/
|
|
|
|
|
|
/*!
|
|
\fn static BUrlRequest* BUrlProtocolRoster::MakeRequest(const BUrl& url,
|
|
BUrlProtocolListener* listener = NULL, BUrlContext* context = NULL)
|
|
\brief Create a BUrlRequest that can handle the given BUrl
|
|
|
|
\param url The URL to create a request for
|
|
\param listener The BUrlProtocolListener to be registered with the created
|
|
BUrlRequest, can be \c NULL
|
|
\param context The BUrlContext to be registered with the created
|
|
BUrlRequest, can be \c NULL
|
|
|
|
\returns A pointer to the BUrlRequest that can handle the given BUrl.
|
|
\c NULL will be returned if there aren't any BUrlRequest that can
|
|
handle the given protocol or if memory couldn't be allocated.
|
|
*/
|