From 897f717da55d10875a020591028eaa2a7812bdde Mon Sep 17 00:00:00 2001 From: narawat Date: Fri, 13 Feb 2026 21:26:30 +0700 Subject: [PATCH] update --- src/NATSBridge.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/NATSBridge.jl b/src/NATSBridge.jl index 2c218bb..ad1d935 100644 --- a/src/NATSBridge.jl +++ b/src/NATSBridge.jl @@ -16,13 +16,13 @@ const DEFAULT_FILESERVER_URL = "http://localhost:8080/upload" # Default HTTP fi struct msgPayload_v1 - id::String # id of this payload - dataname::String # name of this payload + id::String # id of this payload e.g. "uuid4" + dataname::String # name of this payload e.g. "login_image" type::String # "text | json | table | image | audio | video | binary" transport::String # "direct | link" encoding::String # "none | json | base64 | arrow-ipc" size::Integer # data size in bytes e.g. 15433 - data::Any # payload data in case of direct transport or URL in case of link + data::Any # payload data in case of direct transport or a URL in case of link metadata::Dict{String, Any} # Dict("checksum=> "sha256_hash", ...) end