Was this page helpful?

Post Method

    Post()

    public DreamMessage Post();
    Blocking version of Plug.Post(Result<DreamMessage> result)

    Remarks

    WARNING: This method is thread-blocking. Please avoid using it if possible.

    Parameters

    Name Type Description

    Returns

    Type: DreamMessage

    Post(XDoc doc)

    public DreamMessage Post(XDoc doc);
    Blocking version of Plug.Post(XDoc doc, Result<DreamMessage> result)

    Remarks

    WARNING: This method is thread-blocking. Please avoid using it if possible.

    Parameters

    Name Type Description
    doc XDoc  

    Returns

    Type: DreamMessage

    Post(DreamMessage message)

    public DreamMessage Post(DreamMessage message);
    Blocking version of Plug.Post(DreamMessage message, Result<DreamMessage> result)

    Remarks

    WARNING: This method is thread-blocking. Please avoid using it if possible.

    Parameters

    Name Type Description
    message DreamMessage  

    Returns

    Type: DreamMessage

    Post(Result<DreamMessage> result)

    public Result<DreamMessage> Post(Result<DreamMessage> result);
    Invoke the plug with the Verb.POST verb and an empty message.

    Parameters

    Name Type Description
    result Result<DreamMessage> The MindTouch.Tasking.Result<T>instance to be returned by this method.

    Returns

    Synchronization handle.

    Post(XDoc doc, Result<DreamMessage> result)

    public Result<DreamMessage> Post(XDoc doc, Result<DreamMessage> result);
    Invoke the plug with the Verb.POST verb.

    Parameters

    Name Type Description
    doc XDoc Document to send.
    result Result<DreamMessage> The MindTouch.Tasking.Result<T>instance to be returned by this method.

    Returns

    Synchronization handle.

    Post(DreamMessage message, Result<DreamMessage> result)

    public Result<DreamMessage> Post(DreamMessage message, Result<DreamMessage> result);
    Invoke the plug with the Verb.POST verb.

    Parameters

    Name Type Description
    message DreamMessage Message to send.
    result Result<DreamMessage> The MindTouch.Tasking.Result<T>instance to be returned by this method.

    Returns

    Synchronization handle.
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by