Thenbsp\Wechat\Bridge\Http::withXmlBody PHP Method

withXmlBody() public method

Request Xml Body
public withXmlBody ( array $body )
$body array
    public function withXmlBody(array $body)
    {
        $this->body = Serializer::xmlEncode($body);
        return $this;
    }