bungee v1.0.0-alpha4 Bungee.Response.Returner

Prepare a tuple return for the request based on the response from Elasticsearch

Link to this section Summary

Functions

For requests that create documents in Elasticsearch, return a tuple

Link to this section Functions

Link to this function return(arg, identifier, document)

For requests that create documents in Elasticsearch, return a tuple:

{:ok, :created, {identifier, document = any()}}

Link to this function return(arg, identifier, atom, module)