1 | /// <reference types="node" />
|
2 | import reduct = require('reduct');
|
3 | import { IlpPrepare } from 'ilp-packet';
|
4 | export default class EchoController {
|
5 | private config;
|
6 | private routeBuilder;
|
7 | constructor(deps: reduct.Injector);
|
8 | handle(data: Buffer, sourceAccount: string, { parsedPacket, outbound }: {
|
9 | parsedPacket: IlpPrepare;
|
10 | outbound: (data: Buffer, accountId: string) => Promise<Buffer>;
|
11 | }): Promise<Buffer>;
|
12 | }
|