书栈网 · BookStack 本次搜索耗时 0.032 秒,为您找到 361 个相关结果.
  • 控制器

    控制器 元数据(Metadata) Request 对象 更多端点 状态码操作 路由参数 Async / await POST 处理程序 处理 errors 最后一步 Express 方式 控制器 控制器层负责处理传入的请求, 并返回对客户端的响应。 要创建一个基本的控制器,你必须将 元数据 (metadata) 附加到类...
  • Other features

    Other features Overview Execution context Exception filters Custom decorators Execute enhancers at the field resolver level Other features In the GraphQL world, there is a...
  • 拦截器

    拦截器 基础 进阶 响应映射 异常映射 stream 重写 全局拦截器 拦截器 拦截器是@Interceptor () 装饰器的类。拦截器应该实现 NestInterceptor 接口。 拦截器具有一系列有用的功能,这些功能受面向切面编程(AOP)技术的启发。它们可以: 在方法执行之前/之后绑定额外的逻辑 转换从函数返回的结...
  • Lifecycle events

    Lifecycle Events Lifecycle sequence Lifecycle events Usage Asynchronous initialization Application shutdown Lifecycle Events A Nest application, as well as every applicati...
  • Streaming files

    Streaming files Streamable File class Cross-platform support Example Streaming files info Note This chapter shows how you can stream files from your HTTP application . The ...
  • Scalars

    Scalars Code first Schema first Scalars A GraphQL object type has a name and fields, but at some point those fields have to resolve to some concrete data. That’s where the sca...
  • Complexity

    Complexity Installation Getting started Field-level complexity Query/Mutation-level complexity Complexity warning Warning This chapter applies only to the code first appro...
  • MQTT

    MQTT Installation Overview Options Client Context Wildcards MQTT MQTT (Message Queuing Telemetry Transport) is an open source, lightweight messaging protocol, optimized ...
  • MQTT

    MQTT Installation Overview Options Client Context Wildcards MQTT MQTT (Message Queuing Telemetry Transport) is an open source, lightweight messaging protocol, optimized f...
  • HTTP module

    HTTP module Installation Getting started Configuration Async configuration HTTP module Axios is richly featured HTTP client package that is widely used. Nest wraps Axios an...