{"action":"created","issue":{"url":"https://api.github.com/repos/quasarframework/quasar/issues/2090","repository_url":"https://api.github.com/repos/quasarframework/quasar","labels_url":"https://api.github.com/repos/quasarframework/quasar/issues/2090/labels{/name}","comments_url":"https://api.github.com/repos/quasarframework/quasar/issues/2090/comments","events_url":"https://api.github.com/repos/quasarframework/quasar/issues/2090/events","html_url":"https://github.com/quasarframework/quasar/issues/2090","id":327103101,"node_id":"MDU6SXNzdWUzMjcxMDMxMDE=","number":2090,"title":"Make QUploader provide support for websockets or better yet make it transfer mechanism agnostic","user":{"login":"geoidesic","id":4637995,"node_id":"MDQ6VXNlcjQ2Mzc5OTU=","avatar_url":"https://avatars1.githubusercontent.com/u/4637995?v=4","gravatar_id":"","url":"https://api.github.com/users/geoidesic","html_url":"https://github.com/geoidesic","followers_url":"https://api.github.com/users/geoidesic/followers","following_url":"https://api.github.com/users/geoidesic/following{/other_user}","gists_url":"https://api.github.com/users/geoidesic/gists{/gist_id}","starred_url":"https://api.github.com/users/geoidesic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoidesic/subscriptions","organizations_url":"https://api.github.com/users/geoidesic/orgs","repos_url":"https://api.github.com/users/geoidesic/repos","events_url":"https://api.github.com/users/geoidesic/events{/privacy}","received_events_url":"https://api.github.com/users/geoidesic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-28T19:30:51Z","updated_at":"2018-06-01T13:05:27Z","closed_at":null,"author_association":"NONE","body":"<!--\r\n\r\nGot a question?\r\n===\r\nThe issue list of this repo is **exclusively** for bug reports and feature requests. For simple questions, please use the following resources:\r\n\r\n- Read the docs: https://quasar-framework.org\r\n- For simple/quick questions ask on the Discord chat room: http://chat.quasar-framework.org/\r\n- For complex questions or requiring help, ask on the forum: https://forum.quasar-framework.org/\r\n\r\nReporting a bug?\r\n================\r\n- Are you sure it isn't already reported? Do a search first! It may have already been answered or even fixed in the development branch (`dev`).\r\n\r\n- If you are reporting a bug for Quasar v0.15+, then please try to include a forked JsFiddle/Codepen from one of these: https://jsfiddle.net/rstoenescu/waugrryy/ (jsFiddle - Material theme) or https://jsfiddle.net/rstoenescu/7gu065yg/ (jsFiddle - iOS theme) or https://codepen.io/rstoenescu/pen/KQRZJg (Codepen - Material theme) or https://codepen.io/rstoenescu/pen/paVpBN (Codepen - iOS theme)\r\n\r\n- Are you sure you are reporting to the right repo? If you are not reporting an issue which deals directly with Quasar distributable, then there are [multiple Quasar repos](https://github.com/quasarframework) besides this one. Find the right one.\r\n\r\n- Check if the issue is reproducible with the latest stable version of Quasar. If you are using a pre-release, please indicate the specific version you are using.\r\n\r\n- It is **required** that you clearly describe the steps necessary to reproduce the issue you are running into. Issues with no clear repro steps will not be triaged. If an issue labeled \"need repro\" receives no further input from the issue author for more than 5 days, it will be closed.\r\n\r\n- If your issue is resolved but still open, don’t hesitate to close it. In case you found a solution by yourself, it could be helpful to explain how you fixed it.\r\n\r\nHave a feature suggestion/request?\r\n=======================\r\nRemove the template from below and provide thoughtful commentary *and code samples* on what this feature means for your product. What will it allow you to do that you can't do today? How will it make current workarounds straightforward? What potential bugs and edge cases does it help to avoid? etc. Please keep it product-centric.\r\n-->\r\n## Feature Request\r\nQUploader sounds awesome (although I haven't seen an actual demo of it yet). Problem for me is that it only supports xhr file uploads. That's no good for my app, which is websocket-driven.\r\n\r\nIdeally the QUploader should provide the ability to plugin whatever transfer mechanism one desires (including axios) instead of being hard-wired to it's own xhr functions.\r\n\r\nThis will open the door for better file transfers (websockets are better at streaming) and large file transfers.\r\n\r\nIn my case I'm trying to work with QEWD, which is a WS app framework built ontop of Express (for NodeJS). So ideally I'd like that framework to be able to send the websocket message, rather than having some hard-wired websocket support within QUploader.\r\n\r\nIt would be best if the implementer has the option of which transport library to use. Perhaps easiest via some sort of required interface methods or API.\r\n\r\nThis would probably also need the `__add` method to have the option of using various FileReader formats as `reader.readAsDataURL(file)` is not as good as `reader.readAsArrayBuffer(file)` for websockets. See this article: https://www.accelebrate.com/blog/file-uploads-web-sockets-part-3-of-3/"},"comment":{"url":"https://api.github.com/repos/quasarframework/quasar/issues/comments/393874289","html_url":"https://github.com/quasarframework/quasar/issues/2090#issuecomment-393874289","issue_url":"https://api.github.com/repos/quasarframework/quasar/issues/2090","id":393874289,"node_id":"MDEyOklzc3VlQ29tbWVudDM5Mzg3NDI4OQ==","user":{"login":"nothingismagick","id":35242872,"node_id":"MDQ6VXNlcjM1MjQyODcy","avatar_url":"https://avatars1.githubusercontent.com/u/35242872?v=4","gravatar_id":"","url":"https://api.github.com/users/nothingismagick","html_url":"https://github.com/nothingismagick","followers_url":"https://api.github.com/users/nothingismagick/followers","following_url":"https://api.github.com/users/nothingismagick/following{/other_user}","gists_url":"https://api.github.com/users/nothingismagick/gists{/gist_id}","starred_url":"https://api.github.com/users/nothingismagick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nothingismagick/subscriptions","organizations_url":"https://api.github.com/users/nothingismagick/orgs","repos_url":"https://api.github.com/users/nothingismagick/repos","events_url":"https://api.github.com/users/nothingismagick/events{/privacy}","received_events_url":"https://api.github.com/users/nothingismagick/received_events","type":"User","site_admin":false},"created_at":"2018-06-01T13:05:27Z","updated_at":"2018-06-01T13:05:27Z","author_association":"CONTRIBUTOR","body":"@Lou-Der & @geoidesic \r\n\r\nSo I started writing a gist about how to install and link everything needed for hacking on quasar last night, but discovered that it would actually be a good stand-alone module. So I wrote it. \r\n\r\nIt has only been tested on MacOS, but I will be extending to facilitate testing, so here is the alpha version, instructions are in the README:\r\n\r\nhttps://github.com/nothingismagick/quasar-dev-seed"}}
{"actor":{"display_login":"nothingismagick"}}