Meilisearch PHP | Documentation

Http

Table of Contents

Methods

delete()  : mixed
get()  : mixed
patch()  : mixed
post()  : mixed
put()  : mixed

Methods

delete()

public delete(string $path[, array<string|int, mixed> $query = [] ]) : mixed
Parameters
$path : string
$query : array<string|int, mixed> = []
Tags
throws
ApiException
throws
JsonDecodingException

get()

public get(string $path[, array<string|int, mixed> $query = [] ]) : mixed
Parameters
$path : string
$query : array<string|int, mixed> = []
Tags
throws
ApiException
throws
JsonDecodingException

post()

public post(string $path[, mixed $body = null ][, array<string|int, mixed> $query = [] ][, non-empty-string|null $contentType = null ]) : mixed
Parameters
$path : string
$body : mixed = null
$query : array<string|int, mixed> = []
$contentType : non-empty-string|null = null
Tags
throws
ApiException
throws
JsonEncodingException
throws
JsonDecodingException

put()

public put(string $path[, mixed $body = null ][, array<string|int, mixed> $query = [] ][, non-empty-string|null $contentType = null ]) : mixed
Parameters
$path : string
$body : mixed = null
$query : array<string|int, mixed> = []
$contentType : non-empty-string|null = null
Tags
throws
ApiException
throws
JsonEncodingException
throws
JsonDecodingException

        
On this page

Search results