Software /
code /
prosody
File
teal-src/util/json.d.tl @ 11527:eaff6e548f12
net.http.server: Split out method for sending only the header
Makes it easier to reuse, e.g. for SSE or websockets or other custom
responses.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 24 Apr 2021 10:50:24 +0200 |
parent | 11460:a8b4e04bc044 |
line wrap: on
line source
local record lib encode : function (any) : string decode : function (string) : any, string enum json_type_name "null" "boolean" "object" "array" "number" "string" "integer" end type null_type = (nil) null : null_type end return lib