Skip to main content Link Menu Expand (external link) Document Search Copy Copied

This is automatic generated document for things in Swow\Psr7\Message\BodyEncoder class

Class BodyEncoder

Methods

Static method encode

public static function encode ( array<mixed> $data , string $contentType ) : string

Static method encodeJson

public static function encodeJson ( array<mixed> $data ) : string

Static method encodeQuery

public static function encodeQuery ( array<mixed> $data ) : string

Static method encodeXml

public static function encodeXml ( array<mixed> $data ) : string

Copyright 2022 the Swow contributors