PHP Velho Oeste 2024

HttpResponse sınıfı

(Bir sürüm bilgisi bulunamadı; sadece SVN'de olabilir.)

Sınıf Sözdizimi

HttpResponse {
static void capture ( void )
static int getBufferSize ( void )
static bool getCache ( void )
static string getCacheControl ( void )
static string getContentDisposition ( void )
static string getContentType ( void )
static string getData ( void )
static string getETag ( void )
static string getFile ( void )
static bool getGzip ( void )
static mixed getHeader ([ string $isim ] )
static int getLastModified ( void )
static string getRequestBody ( void )
static resource getRequestBodyStream ( void )
static array getRequestHeaders ( void )
static resource getStream ( void )
static double getThrottleDelay ( void )
static string guessContentType ( string $sihirli_dosya [, int $sihirli_kip = MAGIC_MIME ] )
static void redirect ([ string $url [, array $değiştirgeler [, bool $oturum = false [, int $durum ]]]] )
static bool send ([ bool $tamponu_temizle = true ] )
static bool setBufferSize ( int $bayt_sayısı )
static bool setCache ( bool $önbellekle )
static bool setCacheControl ( string $denetim [, int $ömür = 0 [, bool $yeniden_doğrulanmalı = true ]] )
static bool setContentDisposition ( string $dosyaismi [, bool $satıriçi = false ] )
static bool setContentType ( string $içerik_türü )
static bool setData ( mixed $veri )
static bool setETag ( string $etag )
static bool setFile ( string $dosya )
static bool setGzip ( bool $gzip )
static bool setHeader ( string $isim [, mixed $değer [, bool $değiştir = true ]] )
static bool setLastModified ( int $zaman_damgası )
static bool setStream ( resource $akım )
static bool setThrottleDelay ( float $saniye )
static bool status ( int $durum )
}

Sınıf üyeleri

Özellikler

Static Properties
Değiştirici Türü İsmi Açıklama
protected boolean cache verilmeye çalışılan yanıt önbelleklenecek mi?
protected boolean gzip gönderilen öğe gönderme işlemi sırasında sıkıştırılacak mı?
protected string eTag üretilmiş veya özel ETag
protected integer lastModified son değişikliğin üretilmiş veya özel zaman damgası
protected string cacheControl Önbellek denetimi (Cache-Control) ayarı
protected string contentType gönderilen öğenin içerik türü (Content-Type) ayarı
protected string contentDisposition gönderilen öğenin içerik düzeni (Content-Disposition) ayarı
protected integer bufferSize akış denetimi için kullanılan parça tamponunun boyu
protected double throttleDelay akış denetiminde saniye cinsinden gecikme süresi

Öntanımlı Sabitler

Türü İsmi Açıklama
integer REDIRECT uygulanabilir yönlendirme yöntemi tahmini
integer REDIRECT_PERM kalıcı yönlendirme (301 Kalıcı olarak taşındı)
integer REDIRECT_FOUND standart yönlendirme (302 Bulundu)
integer REDIRECT_POST istekleri POST etmek için uygulanabilecek yönlendirme (303 Diğerine bak)
integer REDIRECT_PROXY vekil yönlendirmesi (305 Vekil kullan)
integer REDIRECT_TEMP geçici yönlendirme (307 Geçici yönlendirme)

İçindekiler

add a note add a note

User Contributed Notes

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