« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 608 for http (0.002 sec.)
The Swoole\Http\Client class | PHP 8.3 6990
The Swoole\Http\Client class (PECL swoole >= 1.9.0) はじめに クラス概要 class Swoole\Http\Client { /* プロパティ */ public $ errCode ; public $ sock ; /* メソッド */ public function addFile ( string $path , string $name , string $type = ? , ... ng $method ): void public function upgrade ( string $path , string $callback ): void } プロパティ errCode sock 目次 Swoole\Http\Client::addFile — Add a file to the post form. Swoole\Http\Client::close — Close the http connection. Swoole\Http\Client:: ... __construct — Construct the async HTTP client. Swoole\Http\Client::__destruct — Destruct the HTTP client. Swoole\Http\Client::download — Download a file from the ... remote server. Swoole\Http\Client::execute — Send the HTTP request after setting the parameters. Swoole\Http\Client::get — Send GET http request to t ...
https://man.mtool.work/php/8.3/class.swoole-http-client.html
Swoole | PHP 8.3 6694
Swoole はじめに Swoole is a parallel network communication engine based on asynchronous event-driven and coroutine, written in C++, providing coroutine and high-performance network programming support for PHP. It provides various network se ... event loop Swoole\Event::write — Write data to socket asynchronously Swoole\Exception — The Swoole\Exception class Swoole\Http\Client — The Swoole\Http\Client class Swoole\Http\Client::addFile — Add a file to the post form. Swoole\Http\Client::close ... — Close the http connection. Swoole\Http\Client::__construct — Construct the async HTTP client. Swoole\Http\Client::__destruct — Destruct t ... he HTTP client. Swoole\Http\Client::download — Download a file from the remote server. Swoole\Http\Client::execute — Send the HTTP ...
https://man.mtool.work/php/8.3/book.swoole.html
The Swoole\Http\Response class | PHP 8.3 6649
The Swoole\Http\Response class (PECL swoole >= 1.9.0) はじめに クラス概要 class Swoole\Http\Response { /* メソッド */ public function cookie ( string $name , string $value = ? , string $expires = ? , string $path = ? , string $domain = ? , ... string $secure = ? , string $httponly = ? ): string public function __destruct (): void public function end ( string $content = ? ): void public function gz ... ing $name , string $value = ? , string $expires = ? , string $path = ? , string $domain = ? , string $secure = ? , string $httponly = ? ): ReturnType public function sendfile ( string $filename , int $offset = ? ): ReturnType public function status ( ... string $http_code ): ReturnType public function write ( string $content ): void } 目次 Swoole\Http\Response::cookie — Set the cookies o ...
https://man.mtool.work/php/8.3/class.swoole-http-response.html
EventHttp::__construct — Constructs EventHttp object (the HTTP server) | PHP 8.... 6376
EventHttp::__construct (PECL event >= 1.2.6-beta) EventHttp::__construct — Constructs EventHttp object (the HTTP server) 説明 public function EventHttp::__construct ( EventBase $base , EventSslContext $ctx = null ) Constructs the HTTP serve ... r object. パラメータ base Associated event base. ctx EventSslContext class object. Turns plain HTTP server into HTTPS server. It means that if ctx is configured correctly, then the underlying buffer events will be based on ... th Libevent 2.1.0-alpha and higher. 変更履歴 バージョン 説明 PECL event 1.9.0 OpenSSL support ( ctx ) added. 例 例1 Simple HTTP server <?php /* * Simple HTTP server. * * To test it: * 1) Run it on a port of your choice, e.g.: * $ php examples/http.ph ... ress on this port * and make GET or POST request(others are turned off here), e.g.: * $ nc -t 127.0.0.1 8010 * POST /about HTTP/1.0 * Content-Type: text/plain * Content-Length: 4 * Connection: close * (press Enter) * * It will output * a=12 * HTTP/1. ...
https://man.mtool.work/php/8.3/eventhttp.construct.html
$http_response_header — HTTP レスポンスヘッダ | PHP 8.3 6324
$http_response_header (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) $http_response_header — HTTP レスポンスヘッダ 警告 この機能は PHP 8.5.0 で 非推奨 になります。この機能に頼らないことを強く推奨します。 http_get_last_response_headers() を代わりに使 ... ってください。 説明 $http_response_header 配列は get_headers() 関数と似ています。 HTTP ラッパー を使用する際に、 $http_response_header に HTTP レスポ ... ンスヘッダが格納されます。 $http_response_header は ローカルスコープ で作成されます。 例 例1 $http_response_header の例 <?php function get_contents () { fi ... le_get_contents ( "http://example.com" ); var_dump ( $http_response_header ); // ローカルスコープ内で変数の値を取得します } get_contents (); var_d ...
https://man.mtool.work/php/8.3/reserved.variables.httpresponseheader.html
実行時設定 | PHP 8.3 6280
実行時設定 php.ini の設定により動作が変化します。 mbstring 設定オプション 名前 デフォルト 変更可能 変更履歴 mbstring.language "neutral" INI_ALL mbstring.detect_order NULL INI_ALL mbstring.http_input "pass" INI_ALL 非推奨になりました。 mbstr ... ing.http_output "pass" INI_ALL 非推奨になりました。 mbstring.internal_encoding NULL INI_ALL 非推奨になりました。 mbstring.substitut ... 0" INI_SYSTEM PHP 7.2.0 で非推奨になり、PHP 8.0.0 で削除されました。 mbstring.encoding_translation "0" INI_PERDIR mbstring.http_output_conv_mimetypes "^(text/|application/xhtml\+xml)" INI_ALL mbstring.strict_detection "0" INI_ALL mbstring.regex_retry ... encoding は、 mbstring.language の後に置く必要があることに注意してください。 mbstring.encoding_translation bool 入力される HTTP クエリに関して、 文字エンコーディング検出および内部文字エンコーディングへの変換を行う 透過的な文字エンコーディングフィルタ ...
https://man.mtool.work/php/8.3/mbstring.configuration.html
SolrResponse クラス | PHP 8.3 6235
SolrResponse クラス (PECL solr >= 0.9.2) はじめに Solr サーバーからのレスポンスを表現 クラス概要 abstract class SolrResponse { /* 定数 */ const int PARSE_SOLR_OBJ = 0 ; const int PARSE_SOLR_DOC = 1 ; /* プロパティ */ protected int $ http_st ... atus ; protected int $ parser_mode ; protected bool $ success ; protected string $ http_status_message ; protected string $ http_request_url ; protected string $ http_raw_request_headers ; protected string $ ht ... tp_raw_request ; protected string $ http_raw_response_headers ; protected string $ http_raw_response ; protected string $ http_digested_response ; /* メソッド */ p ... ublic function getDigestedResponse (): string public function getHttpStatus (): int public function getHttpStatusMessage (): string public function getRawRequest (): string public function get ...
https://man.mtool.work/php/8.3/class.solrresponse.html
http_get_last_response_headers — 最後の HTTP レスポンスヘッダーを取得します | P... 6080
http_get_last_response_headers (PHP 8 >= 8.4.0) http_get_last_response_headers — 最後の HTTP レスポンスヘッダーを取得します 説明 function http_get_last_response_headers (): ? array HTTP ラッパー を介して受け取った最後の HTTP レスポンスヘッダ ... ray を返します。 レスポンスヘッダーがない場合は、 null を返します。 パラメータ この関数にはパラメータはありません。 戻り値 HTTP ラッパー を使って受け取った HTTP ヘッダーを インデックス付きの array で返します。 ヘッダーがない場合は、 null を返します。 ... 例 例1 http_get_last_response_headers() example Description. <?php file_get_contents ( "http://example.com" ); var_dump ( http_get_las ... t_response_headers ()); ?> 上の例の出力は、 たとえば以下のようになります。 array(14) { [0]=> string(15) "HTTP/1.1 200 OK" [1]=> string(20) "Accept-Ranges: bytes" [2]=> string(11) "Age: 326940" [3]=> string(29) "Cache-Control: max-ag ...
https://man.mtool.work/php/8.3/function.http-get-last-response-headers.html
EventHttp::setCallback — Sets a callback for specified URI | PHP 8.3 6028
EventHttp::setCallback (PECL event >= 1.4.0-beta) EventHttp::setCallback — Sets a callback for specified URI 説明 public function EventHttp::setCallback ( string $path , string $cb , string $arg = ? ): void Sets a callback for specified URI ... callback callable that gets invoked on requested path . It should match the following prototype: function callback ( EventHttpRequest $req = NULL , mixed $arg = NULL ): void req EventHttpRequest object. arg Custom data. arg Custom data. 戻り値 成功し ... た場合に true を、失敗した場合に false を返します。 例 例1 EventHttp::setCallback() example <?php /* * Simple HTTP server. * * To test it: * 1) Run it on a port of your choice, e.g.: * $ php ... examples/http.php 8010 * 2) In another terminal connect to some address on this port * and make GET or POST request(others are turned of ...
https://man.mtool.work/php/8.3/eventhttp.setcallback.html
http_clear_last_response_headers — 保存された HTTP レスポンスヘッダーをクリア |... 6006
http_clear_last_response_headers (PHP 8 >= 8.4.0) http_clear_last_response_headers — 保存された HTTP レスポンスヘッダーをクリア 説明 function http_clear_last_response_headers (): void HTTP ラッパー を使って受け取った HTTP レスポンスをクリア ... します。 パラメータ この関数にはパラメータはありません。 戻り値 値を返しません。 参考 http_get_last_response_headers() - 最後の HTTP レスポンスヘッダーを取得します 他のマニュアルの関連ページ Python http.server Fas ... tAPI ミドルウェア Python http.client Django request-response Django tools Django outputting-csv ...
https://man.mtool.work/php/8.3/function.http-clear-last-response-headers.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT