PHP Velho Oeste 2024

HttpMessage::setType

(PECL pecl_http >= 0.10.0)

HttpMessage::setTypeメッセージの型を設定する

説明

public void HttpMessage::setType ( int $type )

メッセージの型を設定します。 HTTP_MSG_NONEHTTP_MSG_REQUEST あるいは HTTP_MSG_RESPONSE のいずれかとなります。

パラメータ

type

HttpMessage::TYPE_*

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top