in src/Regions/LocationServiceRequest.php [25:45]
public function __construct(Request $request, $domain)
{
parent::__construct();
$this->product('Location');
$this->version('2015-06-12');
$this->action('DescribeEndpoints');
$this->regionId('cn-hangzhou');
$this->format('JSON');
$this->options['query']['Id'] = $request->realRegionId();
$this->options['query']['ServiceCode'] = $request->serviceCode;
$this->options['query']['Type'] = $request->endpointType;
$this->client($request->client);
$this->host($domain);
if (isset($request->options['timeout'])) {
$this->timeout($request->options['timeout']);
}
if (isset($request->options['connect_timeout'])) {
$this->connectTimeout($request->options['connect_timeout']);
}
}