Forum und email

HttpMessage

(No version information available, might be only in CVS)

HttpMessage — HTTP メッセージクラス

   class HttpMessage implements Iterator, Countable, Serializable
  

クラスのメンバ

プロパティ

インスタンスプロパティ
アクセス範囲 名前 説明
protected int type メッセージの型
protected string body メッセージの本文
protected float httpVersion HTTP プロトコルのバージョン
protected array headers メッセージのヘッダ
protected string requestMethod リクエストメソッドの名前
protected requestUrl string リクエスト URL
protected int responseCode レスポンスコード
protected string responseStatus レスポンスステータスのメッセージ
protected HttpMessage parentMessage 親メッセージへの参照

注意: これらのデフォルトプロパティについては、参照としてアクセスすることはできません。 また、配列のキー/値 方式の表記を使用することもできませんし、 インクリメント/デクリメント 操作を行うこともできません。

定義済み定数

名前 説明
int TYPE_NONE メッセージは特定の型ではありません
int TYPE_REQUEST メッセージは、リクエスト型の HTTP メッセージです
int TYPE_RESPONSE メッセージは、レスポンス型の HTTP メッセージです