format}"; } protected function defaultHeaders(): array { $headers = [ 'X-Request-ChannelSecurity' => $this->requestSecurity, 'X-Response-ChannelSecurity' => $this->responseSecurity, ]; if ($this->format === 'json') { $headers['Content-Type'] = 'application/jose'; } return $headers; } protected function defineBody(): string { return $this->data; } }