@thisisagile/easy
Version:
Straightforward library for building domain-driven microservice architectures
15 lines (14 loc) • 447 B
TypeScript
import { Enum } from '../types/Enum';
import { Get } from '../types/Get';
export declare class ContentType extends Enum {
readonly type: string;
protected readonly encoder: Get<string>;
static Form: ContentType;
static Json: ContentType;
static RawJson: ContentType;
static Stream: ContentType;
static Text: ContentType;
static Xml: ContentType;
private constructor();
encode: (body?: unknown) => string;
}