You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by jo...@apache.org on 2025/07/01 16:18:15 UTC

(royale-asjs) 01/02: Network: HTTPService data and json getters should be bindable

This is an automated email from the ASF dual-hosted git repository.

joshtynjala pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit eefcf960b59ce6d70aac6dc5328ae5c6e8426607
Author: Josh Tynjala <jo...@apache.org>
AuthorDate: Tue Jul 1 08:24:05 2025 -0700

    Network: HTTPService data and json getters should be bindable
    
    We already dispatch the complete event, so this doesn't add any additional event dispatching
---
 .../Network/src/main/royale/org/apache/royale/net/HTTPService.as        | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/frameworks/projects/Network/src/main/royale/org/apache/royale/net/HTTPService.as b/frameworks/projects/Network/src/main/royale/org/apache/royale/net/HTTPService.as
index 346b858d45..39f0af0198 100644
--- a/frameworks/projects/Network/src/main/royale/org/apache/royale/net/HTTPService.as
+++ b/frameworks/projects/Network/src/main/royale/org/apache/royale/net/HTTPService.as
@@ -736,6 +736,7 @@ COMPILE::SWF
             }
         }
 
+        [Bindable("complete")]
         /**
          *  The text returned from the server.
          *  
@@ -760,6 +761,7 @@ COMPILE::SWF
         
         private var _json:Object;
         
+        [Bindable("complete")]
         /**
          *  A JSON object parsed from the data.
          *