add_inline/3 | add attachment to a doc and encode it. |
add_inline/4 | add attachment to a doc and encode it with ContentType fixed. |
attachment_acceptor/3 | initiate attachment fetching. |
delete_inline/2 | delete an attachment record in doc. |
wait_for_attachment/2 | collect all attachments chunks. |
add_inline(Doc::json_obj(), Content::attachment_content(), AName::string()) -> json_obj()
add attachment to a doc and encode it. Give possibility to send attachments inline.
add_inline(Doc::json_obj(), Content::attachment_content(), AName::string(), ContentType::string()) -> json_obj()
add attachment to a doc and encode it with ContentType fixed.
attachment_acceptor(Pid, PidRef, Timeout) -> any()
initiate attachment fetching
delete_inline(Doc::json_obj(), AName::string()) -> json_obj()
delete an attachment record in doc. This is different from delete_attachment change is only applied in Doc object. Save_doc should be save to save changes.
wait_for_attachment(ReqId, Timeout) -> any()
collect all attachments chunks
Generated by EDoc, Aug 31 2012, 10:02:31.