Was this page helpful?

WithHeaders Method

    WithHeaders(DreamHeaders headers)

    public Plug WithHeaders(DreamHeaders headers);
    Create a copy of the instance with a header collection added.

    Parameters

    Name Type Description
    headers DreamHeaders Header collection

    Returns

    Type: Plug
    New instance.

    WithHeaders(NameValueCollection headers)

    public Plug WithHeaders(NameValueCollection headers);
    This method is deprecated. Please use Plug.WithHeaders(DreamHeaders headers) instead.

    Parameters

    Name Type Description
    headers NameValueCollection  

    Returns

    Type: Plug
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by