MESSORDocumentation
Messor Network Protocol
class HttpRequest Class for working with GET, POST, COOKIE, SERVER, SESSION variables and stream
get(): array
Getting the global array $_GET;
cookie(): array
Getting the global array $_COOKIE;
setPost(string name, string value): void
Adds a value to the $_POST array
post(string|null name = null): array|bool
Gets the $_POST global array or one of its values
setServer(string name, string value): void
Adds a value to the $_SERVER array
server(string|null name = null): array|bool
Gets the global array $_SERVER or one of its values
session(string|null name = null): array|bool
Gets the $_SESSION array
setSession(string name, string value): void
Adds a value to the $_SESSION array
stream(): string
Gets a php stream