书栈网 · BookStack 本次搜索耗时 0.050 秒,为您找到 50777 个相关结果.
  • Modules

    Modules extend self Module Type Checking Modules Modules serve two purposes: as namespaces for defining other types, methods and constants as partial types that can be mixed...
  • Basic Usage

    150 2022-11-24 《Hanami v1.3 Guides》
    Requests Handling View Rendering Bypass Rendering Initialization Requests Handling In the previous section , we generated an action. Now let’s use it. First, we check our r...
  • MQTT示例

    MQTT 数据上送应用示例 MQTT 数据上送应用示例 此应用使用lua-mosquitto模块(lua-mosquitto ) 代码: local class = require 'middleclass' local mosq = require 'mosquitto' local cjson ...
  • Inheritance

    178 2022-11-24 《Hanami v2.0 Guides》
    Standard base classes Leveraging action inheritance When you inherit from an action class, you also inherit much of its behavior. This includes: Dependencies specified with t...
  • Generics

    Generics Generic class methods Generic structs and modules Generic types inheritance Generics with variable number of arguments Generics Generics allow you to parameterize a...
  • Autoloading

    189 2022-11-24 《Hanami v2.0 Guides》
    Autoloading in the app directory Autoloading in the lib directory Requiring gems Inflections Hanami uses the Zeitwerk code loader to support autoloading. This means that yo...
  • Hybrid Attributes

    Hybrid Attributes Hybrid API Hybrid Attributes Hybrid attributes encapsulate functionality that operates at both the Python and SQL levels. The idea for hybrid attributes come...
  • 3.9.4. Doing the Work

    3.9.4. Doing the Work Getting User Confirmation Adding or Editing Records 3.9.4. Doing the Work Four operations are provided for working with the invoice header: adding, edit...
  • MySQL · 源码分析 · 连接与认证过程

    1284 2020-08-13 《数据库内核月报》
    前言 认证流程分析 挑战码报文 前言 本文主要介绍 client 与 server 连接与认证过程,包括client和server之间的网络交互情况 使用 mysql 5.6.16官方版本分析 认证流程分析 client 建立连接的认证过程如下图 server 监听端口 client 向server建立TCP连接 server 向cl...
  • Block forwarding

    Block forwarding Forwarding non-captured blocks Block forwarding To forward captured blocks, you use a block argument, prefixing an expression with & : def capture (& block )...