UNPKG

@ucanto/transport

Version:
7 lines 471 B
export { CAR as codec }; export const contentType: "application/vnd.ipld.car"; export function encode<Message extends API.AgentMessage<any>>(message: Message, options?: API.EncodeOptions | undefined): API.HTTPResponse<Message>; export function decode<Message extends API.AgentMessage<any>>({ headers, body }: API.HTTPResponse<Message>): Promise<Message>; import { CAR } from '@ucanto/core'; import * as API from '@ucanto/interface'; //# sourceMappingURL=response.d.ts.map