This commit is contained in:
2025-08-29 10:44:46 +02:00
parent b7b89eece7
commit 6edbfef12a
2 changed files with 4 additions and 0 deletions

View File

@@ -52,6 +52,7 @@ println(' - API title: ${spec.info.title}')
println(' - API version: ${spec.info.version}')
println(' - Methods available: ${spec.methods.len}')
// 2. List all services
println('\n2. Listing all services...')
services := client.service_list() or {

View File

@@ -79,6 +79,9 @@ pub fn (mut t UnixSocketTransport) send(request string, params SendParams) !stri
res_total << res[..n]
//here we need to check we are at end
if res.bytestr().contains('\n') {
break
}
}
unix.shutdown(socket.sock.handle)