@ingestkorea/client-sens
Version:
INGESTKOREA SDK Naver Cloud Platform SENS Client for Node.js.
10 lines (9 loc) • 627 B
TypeScript
import { HttpRequest, HttpResponse } from "@ingestkorea/util-http-handler";
export type RequestSerializer<InputType, Config> = (input: InputType, config: Config) => Promise<HttpRequest>;
export type ResponseDeserializer<OutputType, Config> = (response: HttpResponse, config: Config) => Promise<OutputType>;
export declare abstract class SensCommand<ClientInput, ClientOutput, ClientResolvedConfig> {
input: ClientInput;
constructor(input: ClientInput);
abstract serializer: RequestSerializer<ClientInput, ClientResolvedConfig>;
abstract deserializer: ResponseDeserializer<ClientOutput, ClientResolvedConfig>;
}