Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/okikio/utils.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106/** * Framework-neutral successful HTTP response contracts and constructors. * * The namespace owns response documents, headers, range/status helpers, and serialization without selecting a server framework. */export { accepted, created, define, document, download, html, noContent, notModified, partialContent, ok, paginated, redirect, responseCatalog as catalog, select, compose, stream,} from './definition.ts';export { onComplete } from './completion.ts';export { discard } from './discard.ts';export { readText } from './body.ts';export { byteRange, byteRangeHeaders, conditionalHeaders, notModified as isNotModified } from './http.ts';export type { ByteRange } from './http.ts';export type { ResponseCompletion } from './completion.ts';export { appendHeaders, headerEntries, headers, headerValues, mergeHeaders, toHeaders,} from './headers.ts';export { any as statusAny, clientError as clientErrorStatus, contentful as contentfulStatus, contentless as contentlessStatus, informational as informationalStatus, is as isStatus, isContentless as isContentlessStatus, isProblem as isProblemStatus, problem as problemStatus, redirect as redirectStatus, serverError as serverErrorStatus, success as successStatus,} from './status.ts';export * as status from './status.ts';export type { ClientErrorStatus, ContentfulStatus, ContentlessStatus, HttpStatus, HttpStatusSchema, InformationalStatus, ProblemStatus, RedirectStatus, ServerErrorStatus, SuccessStatus,} from './status.ts';export { create, definitionOf, is, pageHeaders, pageLinks, finalize, withHeaders, withMeta,} from './result.ts';export type { CreateResponseOptions, CursorPageWindow, HeaderField, HeaderInput, HeaderValue, HtmlBody, HtmlChunk, OffsetPageWindow, NormalizedPageWindow, PageWindow, PaginationLinkContext, PaginationLinks, PaginationMetadata, PaginationParameters, PaginationResponsePolicy, FinalizedResponseResult, FinalizeResponseOptions, ResponseBody, ResponseDefinition, ResponseDefinitionInput, ResponseDocument, ResponseEnvelope, ResponseExample, ResponseHeaders, ResponseResult, ResponseResultMetadata, ResponseSchema, ResponseStatus, SuccessEnvelope,} from './types.ts';