/haiku/src/kits/network/libnetservices2/ |
H A D | HttpRequest.cpp | 164 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 D | HttpSerializer.h | 19 class BHttpRequest; variable 33 void SetTo(HttpBuffer& buffer, const BHttpRequest& request);
|
H A D | HttpSession.cpp | 61 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 D | HttpSerializer.cpp | 25 HttpSerializer::SetTo(HttpBuffer& buffer, const BHttpRequest& request) in SetTo()
|
/haiku/headers/private/netservices2/ |
H A D | HttpRequest.h | 82 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 D | HttpSession.h | 21 class BHttpRequest; variable 39 BHttpResult Execute(BHttpRequest&& request, BBorrow<BDataIO> target = nullptr,
|
/haiku/src/kits/network/libnetservices/ |
H A D | HttpRequest.cpp | 44 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 D | UrlProtocolRoster.cpp | 30 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 D | Geolocation.cpp | 123 BHttpRequest* http = dynamic_cast<BHttpRequest*>(request); in LocateSelf() 197 BHttpRequest* http = dynamic_cast<BHttpRequest*>(request); in Country()
|
/haiku/docs/user/netservices/ |
H A D | HttpRequest.dox | 42 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 D | HttpSession.dox | 167 \fn BHttpResult BHttpSession::Execute(BHttpRequest &&request,
|
/haiku/src/tests/kits/net/service/ |
H A D | HttpTest.cpp | 133 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 D | HttpRequest.h | 31 class BHttpRequest : public BNetworkRequest { 33 virtual ~BHttpRequest(); 70 BHttpRequest(const BUrl& url, 76 BHttpRequest(const BHttpRequest& other);
|
H A D | HttpResult.h | 24 friend class BHttpRequest; variable
|
/haiku/src/tests/kits/net/netservices2/ |
H A D | HttpProtocolTest.cpp | 31 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 D | AbstractServerProcess.h | 17 using BPrivate::Network::BHttpRequest; 90 BHttpRequest* fRequest;
|
H A D | AbstractServerProcess.cpp | 366 fRequest = dynamic_cast<BHttpRequest *>(request); in DownloadToLocalFile() 392 if (BHttpRequest::IsSuccessStatusCode(statusCode)) { in DownloadToLocalFile() 403 } else if (BHttpRequest::IsRedirectionStatusCode(statusCode)) { in DownloadToLocalFile()
|
H A D | WebAppInterface.cpp | 90 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 D | FetchFileJob.cpp | 112 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 D | HTTPMediaIO.cpp | 169 BHttpRequest* httpReq = dynamic_cast<BHttpRequest*>(fReq); in Open()
|