HumHub Documentation (unofficial)

RequestParserInterface

Interface for classes that parse the raw request body into a parameters array.

Tags
author

Dan Schmidt danschmidt5189@gmail.com

since
2.0

Table of Contents

Methods

parse()  : array<string|int, mixed>
Parses a HTTP request body.

Methods

parse()

Parses a HTTP request body.

public parse(string $rawBody, string $contentType) : array<string|int, mixed>
Parameters
$rawBody : string

the raw HTTP request body.

$contentType : string

the content type specified for the request body.

Return values
array<string|int, mixed>

parameters parsed from the request body


        
On this page

Search results