RestConnectionMapperFluentConnectionTConnectionInfoConnectionInfoToBodyTRoot Method
Maps the connection information to the HTTP body.
Namespace: Simple.Connector.Framework.Http
Assembly: Simple.Connector.Framework (in Simple.Connector.Framework.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
public RestConnectionMapperFluentConnection<TConnectionInfo> ConnectionInfoToBody<TRoot>( Func<TConnectionInfo, TRoot> fromConnectionInfoToBody )
Parameters
fromConnectionInfoToBody
Type: SystemFuncTConnectionInfo, TRoot
A function that takes an instance of the connection information and returns an instance of the type to be mapped to the HTTP body.
Type Parameters
TRoot
Type to be serialized as the HTTP body.
Return Value
Type: RestConnectionMapperFluentConnectionTConnectionInfo
Updated connection configuration.
See