Home
last modified time | relevance | path

Searched refs:BHttpRequest (Results 1 – 20 of 20) sorted by relevance

/haiku/src/kits/network/libnetservices2/
H A DHttpRequest.cpp164 struct BHttpRequest::Data {
195 BHttpRequest::BHttpRequest() in BHttpRequest() function in BHttpRequest
202 BHttpRequest::BHttpRequest(const BUrl& url) in BHttpRequest() function in BHttpRequest
210 BHttpRequest::BHttpRequest(BHttpRequest&& other) noexcept = default;
213 BHttpRequest::~BHttpRequest() = default;
216 BHttpRequest& BHttpRequest::operator=(BHttpRequest&&) noexcept = default;
220 BHttpRequest::IsEmpty() const noexcept in IsEmpty()
227 BHttpRequest::Authentication() const noexcept in Authentication()
236 BHttpRequest::Fields() const noexcept in Fields()
245 BHttpRequest::MaxRedirections() const noexcept in MaxRedirections()
[all …]
H A DHttpSerializer.h19 class BHttpRequest; variable
33 void SetTo(HttpBuffer& buffer, const BHttpRequest& request);
H A DHttpSession.cpp61 Request(BHttpRequest&& request, BBorrow<BDataIO> target, BMessenger observer);
93 BHttpRequest fRequest;
130 BHttpResult Execute(BHttpRequest&& request, BBorrow<BDataIO> target, BMessenger observer);
220 BHttpSession::Impl::Execute(BHttpRequest&& request, BBorrow<BDataIO> target, BMessenger observer) in Execute()
620 BHttpSession::Execute(BHttpRequest&& request, BBorrow<BDataIO> target, BMessenger observer) in Execute()
655 BHttpSession::Request::Request(BHttpRequest&& request, BBorrow<BDataIO> target, BMessenger observer) in Request()
H A DHttpSerializer.cpp25 HttpSerializer::SetTo(HttpBuffer& buffer, const BHttpRequest& request) in SetTo()
/haiku/headers/private/netservices2/
H A DHttpRequest.h82 class BHttpRequest
89 BHttpRequest();
90 BHttpRequest(const BUrl& url);
91 BHttpRequest(const BHttpRequest& other) = delete;
92 BHttpRequest(BHttpRequest&& other) noexcept;
93 ~BHttpRequest();
96 BHttpRequest& operator=(const BHttpRequest& other) = delete;
97 BHttpRequest& operator=(BHttpRequest&&) noexcept;
140 struct BHttpRequest::Body {
H A DHttpSession.h21 class BHttpRequest; variable
39 BHttpResult Execute(BHttpRequest&& request, BBorrow<BDataIO> target = nullptr,
/haiku/src/kits/network/libnetservices/
H A DHttpRequest.cpp44 CheckedSecureSocket(BHttpRequest* request);
50 BHttpRequest* fRequest;
54 CheckedSecureSocket::CheckedSecureSocket(BHttpRequest* request) in CheckedSecureSocket()
73 CheckedProxySecureSocket(const BNetworkAddress& proxy, BHttpRequest* request);
79 BHttpRequest* fRequest;
84 BHttpRequest* request) in CheckedProxySecureSocket()
101 BHttpRequest::BHttpRequest(const BUrl& url, BDataIO* output, bool ssl, in BHttpRequest() function in BHttpRequest
125 BHttpRequest::BHttpRequest(const BHttpRequest& other) in BHttpRequest() function in BHttpRequest
148 BHttpRequest::~BHttpRequest() in ~BHttpRequest()
161 BHttpRequest::SetMethod(const char* const method) in SetMethod()
[all …]
H A DUrlProtocolRoster.cpp30 return new(std::nothrow) BHttpRequest(url, output, false, "HTTP", in MakeRequest()
33 return new(std::nothrow) BHttpRequest(url, output, true, "HTTPS", in MakeRequest()
H A DGeolocation.cpp123 BHttpRequest* http = dynamic_cast<BHttpRequest*>(request); in LocateSelf()
197 BHttpRequest* http = dynamic_cast<BHttpRequest*>(request); in Country()
/haiku/docs/user/netservices/
H A DHttpRequest.dox42 use the implicit constructors while interacting with the \ref BHttpRequest class.
47 auto standard = BHttpRequest(url, BHttpMethod::Get);
49 auto custom = BHttpRequest(url, "PATCH"sv);
282 \see These options are used by \ref BHttpRequest::Authentication() and
283 \ref BHttpRequest::SetAuthentication()
306 \struct BHttpRequest::Body
315 \var std::unique_ptr<BDataIO> BHttpRequest::Body::input
323 \var BString BHttpRequest::Body::mimeType
333 \var std::optional<off_t> BHttpRequest::Body::size
341 \var std::optional<off_t> BHttpRequest::Body::startPosition
[all …]
H A DHttpSession.dox167 \fn BHttpResult BHttpSession::Execute(BHttpRequest &&request,
/haiku/src/tests/kits/net/service/
H A DHttpTest.cpp133 BHttpRequest* request = dynamic_cast<BHttpRequest*>(requestDeleter.Get()); in SendAuthenticatedRequest()
231 BHttpRequest* request = dynamic_cast<BHttpRequest*>(requestDeleter.Get()); in HeadTest()
276 BHttpRequest* request = dynamic_cast<BHttpRequest*>(requestDeleter.Get()); in NoContentTest()
340 BHttpRequest* request = dynamic_cast<BHttpRequest*>(requestDeleter.Get()); in ProxyTest()
433 BHttpRequest* request = dynamic_cast<BHttpRequest*>(requestDeleter.Get()); in UploadTest()
629 BHttpRequest* request = dynamic_cast<BHttpRequest*>(requestDeleter.Get()); in _GetTest()
/haiku/headers/private/netservices/
H A DHttpRequest.h31 class BHttpRequest : public BNetworkRequest {
33 virtual ~BHttpRequest();
70 BHttpRequest(const BUrl& url,
76 BHttpRequest(const BHttpRequest& other);
H A DHttpResult.h24 friend class BHttpRequest; variable
/haiku/src/tests/kits/net/netservices2/
H A DHttpProtocolTest.cpp31 using BPrivate::Network::BHttpRequest;
289 BHttpRequest request; in HttpRequestTest()
493 auto request = BHttpRequest(BUrl("http://doesnotexist/")); in HostAndNetworkFailTest()
506 auto request = BHttpRequest(BUrl("http://localhost:59445/")); in HostAndNetworkFailTest()
539 auto request = BHttpRequest(BUrl(fTestServer.BaseUrl(), "/")); in GetTest()
565 auto request = BHttpRequest(BUrl(fTestServer.BaseUrl(), "/")); in GetWithBufferTest()
582 auto request = BHttpRequest(BUrl(fTestServer.BaseUrl(), "/")); in HeadTest()
613 auto request = BHttpRequest(BUrl(fTestServer.BaseUrl(), "/204")); in NoContentTest()
640 auto request = BHttpRequest(BUrl(fTestServer.BaseUrl(), "/302")); in AutoRedirectTest()
667 auto request = BHttpRequest(BUrl(fTestServer.BaseUrl(), "/auth/basic/walter/secret")); in BasicAuthTest()
[all …]
/haiku/src/apps/haikudepot/server/
H A DAbstractServerProcess.h17 using BPrivate::Network::BHttpRequest;
90 BHttpRequest* fRequest;
H A DAbstractServerProcess.cpp366 fRequest = dynamic_cast<BHttpRequest *>(request); in DownloadToLocalFile()
392 if (BHttpRequest::IsSuccessStatusCode(statusCode)) { in DownloadToLocalFile()
403 } else if (BHttpRequest::IsRedirectionStatusCode(statusCode)) { in DownloadToLocalFile()
H A DWebAppInterface.cpp90 static BHttpRequest*
97 BHttpRequest* httpRequest = dynamic_cast<BHttpRequest*>(request); in make_http_request()
1041 BHttpRequest* request = make_http_request(url, NULL, &listener, &context); in _SendJsonRequest()
1042 ObjectDeleter<BHttpRequest> _(request); in _SendJsonRequest()
1135 BHttpRequest *request = make_http_request(url, stream, &listener); in _SendRawGetRequest()
1136 ObjectDeleter<BHttpRequest> _(request); in _SendRawGetRequest()
/haiku/src/kits/package/
H A DFetchFileJob.cpp112 BHttpRequest* http = dynamic_cast<BHttpRequest*>(request); in Execute()
165 uint16 codeClass = BHttpRequest::StatusCodeClass(code); in RequestCompleted()
/haiku/src/add-ons/media/plugins/http_streamer/
H A DHTTPMediaIO.cpp169 BHttpRequest* httpReq = dynamic_cast<BHttpRequest*>(fReq); in Open()