neuray Services API Programmer's Manual

mi::nservices::IHttp_client Class Reference

[Http Client]

Description

HTTP Client Factory API Component for creating HTTP requests.

Public Member Functions

virtual IHttp_requestcreate_request( Http_method method, const char* url) =0
Factory function for creating HTTP requests. More...

Member Functions

virtual IHttp_request* mi::​nservices::​IHttp_client::create_request( Http_method method, const char* url) [pure virtual]

Factory function for creating HTTP requests.

Parameters

method
the HTTP method to make the request with
url
the URL to requests

Returns

The IHttp_request object or NULL if method or url is invalid