FluentConnectionTConnectionInfo Methods

The RestConnectionMapperFluentConnectionTConnectionInfo generic type exposes the following members.

Methods

  Name Description
Public method

ConnectionInfoToBaseUrl(FuncTConnectionInfo, String)

Configures the connection with a function that maps the connection information to the Base URL.

Public method

ConnectionInfoToBaseUrl(FuncTConnectionInfo, IHttpResponseBinding, String)

Configures the connection with a function that maps the connection information and the initial connection response to the Base URL.

Public method

ConnectionInfoToBodyTRoot

Maps the connection information to the HTTP body.

Public method

ConnectionInfoToForm(String, FuncTConnectionInfo, String)

Configures a connection with a mapping to an HTTP Form.

Public method

ConnectionInfoToForm(String, String)

Configures a connection with a mapping to an HTTP Form.

Public method

ConnectionInfoToQuery

Maps a value from the connection information to a query parameter.

Public method

End

Ends the configuration and returns the values bundled as a function that builds the connection configuration.

Public method

Equals

Determines whether the specified object is equal to the current object.

(Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

(Inherited from Object.)

Public method

FromResponseToContextTResponse

Maps the response to the Connector's context.

Public method

GetHashCode

Serves as the default hash function.

(Inherited from Object.)

Public method

GetType

Gets the Type of the current instance.

(Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)

Public method

ToHeader(String, FuncTConnectionInfo, String)

Adds a header with the headerName and a value calculated by the function. connectionInfoToHeaderValueFunc.

Public method

ToHeader(String, String)

Maps to an HTTP Header.

Public method

ToQuery

Maps a query parameter.

Public method

ToString

Returns a string that represents the current object.

(Inherited from Object.)

Public method

UseBasicAuth

Adds Basic Authorization to the connection.

See

RestConnectionMapperFluentConnectionTConnectionInfo Class

Simple.Connector.Framework.Http Namespace