Ioto 2.6.0 Update

I’m pleased to announce a minor feature release of Ioto 2.6.0.

This release add WebSockets support for both server and client side protocols.

WebSockets is a network communication protocol designed to facilitate full-duplex, real-time communication between a client and server over a single, long-lived TCP connection. Embedthis Ioto provides comprehensive support for WebSockets, enabling easy integration for both client-side and server-side scenarios

Features

  • Added WebSockets Library
  • Added WebSocket server
  • Added Web Socket client
  • Added OpenAI API
  • Add JSON validation for uploaded display.json files
  • Add rGetFileExt API
  • Add jsonConvertBuf API
  • Add WebSocket support to the “url” client command with ws:// support
  • Add JSON parsing auto sense of the json variant (strict, json, json5)
  • Doc updates
  • Add —strict to the json utility command

Fixes

  • Many smaller improvements
  • URL client and web server handling of finalization
  • Tighten handling of webWrite/urlWrite finalization of requests
  • Ensure HTTP request body is fully read before redirecting requests with 302
  • Web redirects when missing certain URL fields.
  • Improve JSON strict parsing validation
  • Add JSON type sleuthing
  • Fix web server double decode of query string
  • Fix conditional compilation issues
  • Fix web server file upload boundary conditions
  • Fix MQTT connection retries
  • Fix memory leak in URL

Upgrading

This may require some API changes.

  • This release changes some Url APIs to accommodate the new WebSocket support. The urlStart signature in particular has changed.
  • The field “web->complete” in the web server component is changed to “web->finalized”

Download

Go to the Builder and navigate to the Product List to download. Select a product using “Ioto” as the device agent and click the Download icon.

Ongoing Maintenance

If you have questions, please contact us at: sales@embedthis.com.

Comments

Make a Comment

Thank You!

Messages are moderated.

Your message will be posted shortly.

Sorry

Your message could not be processed at this time.

Error:

Please retry later.

OK