{"action":"opened","issue":{"url":"https://api.github.com/repos/stablekernel/aqueduct/issues/478","repository_url":"https://api.github.com/repos/stablekernel/aqueduct","labels_url":"https://api.github.com/repos/stablekernel/aqueduct/issues/478/labels{/name}","comments_url":"https://api.github.com/repos/stablekernel/aqueduct/issues/478/comments","events_url":"https://api.github.com/repos/stablekernel/aqueduct/issues/478/events","html_url":"https://github.com/stablekernel/aqueduct/issues/478","id":337213895,"node_id":"MDU6SXNzdWUzMzcyMTM4OTU=","number":478,"title":"How to send data to socket and receive data back in Aqueduct?","user":{"login":"NTMS2017","id":33287468,"node_id":"MDQ6VXNlcjMzMjg3NDY4","avatar_url":"https://avatars2.githubusercontent.com/u/33287468?v=4","gravatar_id":"","url":"https://api.github.com/users/NTMS2017","html_url":"https://github.com/NTMS2017","followers_url":"https://api.github.com/users/NTMS2017/followers","following_url":"https://api.github.com/users/NTMS2017/following{/other_user}","gists_url":"https://api.github.com/users/NTMS2017/gists{/gist_id}","starred_url":"https://api.github.com/users/NTMS2017/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NTMS2017/subscriptions","organizations_url":"https://api.github.com/users/NTMS2017/orgs","repos_url":"https://api.github.com/users/NTMS2017/repos","events_url":"https://api.github.com/users/NTMS2017/events{/privacy}","received_events_url":"https://api.github.com/users/NTMS2017/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-30T13:10:37Z","updated_at":"2018-06-30T13:10:37Z","closed_at":null,"author_association":"NONE","body":"This is not an issue yet (more like a missing documentation)\r\n\r\nI have socket services in my close network thats provide a database communication in clear text. \r\n\r\n**Example:**\r\n```\r\n**Send to Socket:**\r\n'Q101:_:49785:_:x\\r\\n'\r\n```\r\n\r\n```\r\n**Receive from Socket:**\r\n'1:_:2:_:119351:_:NİYAZİ TOROS'\r\n```\r\n\r\nNow I am building Aqueduct Web Api so, I can connect over internet to send and receive data back. Using Aqueduct and dart:io how to send above data to Aqueduct web api, connect to socket services (in open mode, till user finishes the work and close the socket) request data and receive data back?\r\n\r\nMain problem is that I can only set timer (which I don't know how) say every 5 minutes drop the connection so user can login again. Also once user login they get a token and use this token in every other request until connection close.\r\n\r\nSecond problem is that in 5 minutes when new request comes I have to restart to timer. Unless no user interaction after 5 minutes user must login again. In UI part I can redirect to new login but I need to set the timer in aqueduct. \r\n\r\nI use dart.io in aqueduct. I can connect my local network (ex: 192.168.10.22, 1024), send data to network socket and retrieve and answer. My problem is that I couldn't find any information how to send those data that comes from local network socket to www. \r\n\r\nAny help please?"}}
{"actor":{"display_login":"NTMS2017"}}