GoLang Swoole\Http\Client::addFile

request it (278)
GoLang replacement for PHP's Swoole\Http\Client::addFile [edit | history]



Do you know a GoLang replacement for PHP's Swoole\Http\Client::addFile? Write it!

PHP Swoole\Http\Client::addFile

PHP original manual for Swoole\Http\Client::addFile [ show | php.net ]

Swoole\Http\Client::addFile

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Http\Client::addFileAdd a file to the post form.

Description

public void Swoole\Http\Client::addFile ( string $path , string $name [, string $type [, string $filename [, string $offset ]]] )

Parameters

path

name

type

filename

offset

Return Values