haXe API Documentation
Back | Index
class php.Web
Available in php
This class is used for accessing the local Web server and the current client request and informations.
static var isModNeko(default,null) : Bool
static inline function flush() : Void
static function getAuthorization() : { user : String, pass : String}
static function getClientHeader(k : String) : String
static function getClientHeaders() : List<{ value : String, header : String}>
Retrieve all the client headers.
static inline function getClientIP() : String
static function getCookies() : haxe.ds.StringMap<Unknown>
static inline function getCwd() : String
static inline function getHostName() : String
static function getMethod() : String
static function getMultipart(maxSize : Int) : haxe.ds.StringMap<String>
static function getParamValues(param : String) : Array<String>
static function getParams() : haxe.ds.StringMap<String>
Returns the GET and POST parameters.
static function getParamsString() : String
static function getPostData() : String
static function getURI() : String
static function parseMultipart(onPart : String -> String -> Void, onData : haxe.io.Bytes -> Int -> Int -> Void) : Void
static function redirect(url : String) : Void
static function setCookie(key : String, value : String, ?expire : Date, ?domain : String, ?path : String, ?secure : Bool, ?httpOnly : Bool) : Void
static inline function setHeader(h : String, v : String) : Void
static function setReturnCode(r : Int) : Void
Back | Index