Module m_req

Model for the accessing the request fields.

Copyright © 2010 Marc Worrell Date: 2010-07-22

Behaviours: zotonic_model.

Authors: Marc Worrell (marc@worrell.nl).

Description

Model for the accessing the request fields. Exposes Webmachine's wrq.erl

Function Index

get/2Fetch the field from the cowmachine_req interface.
m_get/3Fetch the value for the key from a model source.

Function Details

get/2

get(What::atom(), Context::z:context() | cowboy_req:req() | undefined) -> any()

Fetch the field from the cowmachine_req interface.

m_get/3

m_get(Rest::list(), Msg::zotonic_model:opt_msg(), Context::z:context()) -> zotonic_model:return()

Fetch the value for the key from a model source


Generated by EDoc