protected function send($url, array $headers = [], $body = []): ResponseContract
    {
        $endpoint = $url instanceof EndpointContract ? $url : static::to($url);

        return $this->responseWith(
            $this->client->send('POST', $endpoint, $headers, $body)
        );
    }
protected function send($url, array $headers = [], $body = []): ResponseContract
    {
        $endpoint = $url instanceof EndpointContract ? $url : static::to($url);

        return $this->responseWith(
            $this->client->send('POST', $endpoint, $headers, $body)
        );
    }
protected function send ( $ url , array $ headers = [ ] , $ body = [ ] ) : ResponseContract { $ endpoint = $ url instanceof EndpointContract ? $ url : static :: to ( $ url ) ; return $ this -> responseWith ( $ this -> client -> send ( 'POST' , $ endpoint , $ headers , $ body ) ) ; }
Send Webhook request.

@param  \Laravie\Codex\Contracts\Endpoint|string  $url
@param  array  $headers
@param  \Psr\Http\Message\StreamInterface|\Laravie\Codex\Payload|array|null  $body

@return \Laravie\Codex\Contracts\Response
Send Webhook request .