Pudu programming language
Menu

Std.Http.Server.Lambda.Runtime

1 declaration

type

Runtime

This declaration introduces a public type.

What it does

The interface a platform offers, and the version of it being spoken.

A value rather than something read from the environment at each call. The

address and the version are the whole of what identifies an interface, and

holding them lets a program point at one this module did not assume: another

platform implementing the same protocol, a local one during development, or a

version after the one below.

It is also what makes this testable. A module that reached for the

environment inside every call could only be checked by setting environment

variables around it; a value can be pointed at a server written in a fixture.

Read the signature

  • This declaration has no value signature because it introduces a type or trait.

Back to Std.Http.Server.LambdaSearch related declarations