You are here

public function WSClientRESTEndpoint::__construct in Web service client 7

Overrides WSClientEndpoint::__construct

File

wsclient_rest/wsclient_rest.inc, line 18
Web service client REST - include file.

Class

WSClientRESTEndpoint
A remote endpoint type for invoking REST services.

Code

public function __construct(WSClientServiceDescription $service) {
  $this->service = $service;
  $this->url = $service->url;
}