ofx4js
Version:
A javascript OFX library, ported from OFX4J
16 lines (15 loc) • 490 B
TypeScript
import { RequestEnvelope } from "../../domain/data/RequestEnvelope";
import { ResponseEnvelope } from "../../domain/data/ResponseEnvelope";
/**
* Connection to an OFX interface.
*/
export interface OFXConnection {
/**
* Send a request.
*
* @param request The request to send.
* @param url The URL to which to send the request.
* @return The response.
*/
sendRequest(request: RequestEnvelope, url: string): Promise<ResponseEnvelope>;
}