Documentation

ContentType

A class which contains the content type different values

Table of Contents

$form_data  : string
Multipart form data content type
$html  : string
Html text content type
$json  : string
JSON content type
$text  : string
Text plain content type
$urlencoded  : string
Form url encoded content type
$xml  : string
Xml text content type

Properties

$form_data

Multipart form data content type

public static string $form_data = "multipart/form-data"

$html

Html text content type

public static string $html = "text/html"

$json

JSON content type

public static string $json = "application/json"

$text

Text plain content type

public static string $text = "text/plain"

$urlencoded

Form url encoded content type

public static string $urlencoded = "application/x-www-form-urlencoded"

$xml

Xml text content type

public static string $xml = "text/xml"

Search results