输出类接口
在开启命名空间情况下(asf.use_namespace=1)类名为 Asf\Http\ResponseInterface
<?php interface Asf_Http_ResponseInterface { public bool setContentType(string $ctype, string $charset) public void redirect(string $url, int $status_code) public bool setContent(mixed $content) public bool appendContent(mixed $content) public bool appendContent(mixed $content) public string getContent(void) public bool send(void) }
Asf_Http_Response 输出类
在开启命名空间情况下(asf.use_namespace=1)类名为 Asf\Http\Response
<?php final class Asf_Http_Response implements Asf_Http_ResponseInterface { public bool setContentType(string $ctype, string $charset) public void redirect(string $url, int $status_code) public bool setContent(mixed $content) public bool appendContent(mixed $content) public string getContent(void) public bool send(void) }