Gerasimos Maropoulos
0db2afea93
websocket: fix a bug on emit on specific room when it doesn't exist it sends to all connections caused by a third-party contributor's PR...
...
Former-commit-id: de6fddadd7cef8537ad1d1aff1acd991e4cf99cf
2018-05-02 17:47:14 +03:00
Gerasimos Maropoulos
087c8c8b3a
Update to (minor) version 10.6.2. Added: websocket/Connection#OnPong
and websocket/Connection#OnError(func(error))
instead of func(string)
relative issues: https://github.com/kataras/iris/pull/988 and https://github.com/kataras/iris/issues/987 respectfully.
...
Former-commit-id: 76d4fda4ab4f34f8a251c8c2d5bb1ae7c3ef7047
2018-05-02 06:40:18 +03:00
Kirguir
655a19ea74
Websocket: added OnPong to Connection #986
...
see issue #986
Former-commit-id: 964d393d40fc7e64a8bf02eae08d97fd5f847483
2018-04-30 14:27:28 +03:00
Gerasimos Maropoulos
5dc8cbcefc
websocket: expose Connection#Write in favor of https://github.com/kataras/iris/issues/976
...
Former-commit-id: 74cba9b2bfb4d5cc874eba3330dc9c7bad2ffac5
2018-04-25 13:40:40 +03:00
Gerasimos (Makis) Maropoulos
e523d08cb1
add websocket/Connection#IsJoined as requested at https://github.com/kataras/iris/issues/895
...
Former-commit-id: 560fc8b911a9c1352be577d2f7bebd1fac7b5d4a
2018-02-03 18:53:39 +02:00
Gerasimos (Makis) Maropoulos
969aaab4f6
some comment grammar fixes? need help here.
...
Former-commit-id: 5695e4c6456b052fae45de1fa6724fae39ceac3e
2017-12-27 17:09:47 +02:00
Gerasimos (Makis) Maropoulos
2042fddb66
Another new feature: websocket controller, for real
...
Former-commit-id: c1a59b86733e890709b52446e22427a17d87f5fc
2017-12-20 17:56:28 +02:00
Gerson Alexander Pardo Gamez
80b86136f4
Websocket: added OnPing to Connection
...
see issue #825
Former-commit-id: c7c97d40e352f4e550ea96eb482e71c3c50c8c09
2017-12-01 17:48:37 -05:00
Gerson Alexander Pardo Gamez
732c9f70ed
Websocket: replaced time.Ticker with sleep for avoid memory leak
...
Former-commit-id: f17706649faebe3020792e31de877c724be41057
2017-10-19 22:06:31 -05:00
Gerson Alexander Pardo Gamez
dcde9d05a2
Websocket: fixed memory leak on startPinger
...
Former-commit-id: fe6162dd8914398e1333850950e1898e89e75005
2017-10-16 17:54:17 -05:00
Gerson Alexander Pardo Gamez
9da7bdb27d
Fixed fireOnLeave when connection is already closed
...
Former-commit-id: 664afda8f052b9c7596f82d66cc4faeb6e09148d
2017-10-11 12:34:01 -05:00
kataras
9f85b74fc9
Add notes for the new lead maintainer of the open-source iris project and align with @get-ion/ion by @hiveminded
...
Former-commit-id: da4f38eb9034daa49446df3ee529423b98f9b331
2017-07-10 18:32:42 +03:00
kataras
5e4b63acb2
Publish the new version ✈️ | Look description please!
...
# FAQ
### Looking for free support?
http://support.iris-go.com
https://kataras.rocket.chat/channel/iris
### Looking for previous versions?
https://github.com/kataras/iris#version
### Should I upgrade my Iris?
Developers are not forced to upgrade if they don't really need it. Upgrade whenever you feel ready.
> Iris uses the [vendor directory](https://docs.google.com/document/d/1Bz5-UB7g2uPBdOx-rw5t9MxJwkfpx90cqG9AFL0JAYo ) feature, so you get truly reproducible builds, as this method guards against upstream renames and deletes.
**How to upgrade**: Open your command-line and execute this command: `go get -u github.com/kataras/iris`.
For further installation support, please click [here](http://support.iris-go.com/d/16-how-to-install-iris-web-framework ).
### About our new home page
http://iris-go.com
Thanks to [Santosh Anand](https://github.com/santoshanand ) the http://iris-go.com has been upgraded and it's really awesome!
[Santosh](https://github.com/santoshanand ) is a freelancer, he has a great knowledge of nodejs and express js, Android, iOS, React Native, Vue.js etc, if you need a developer to find or create a solution for your problem or task, please contact with him.
The amount of the next two or three donations you'll send they will be immediately transferred to his own account balance, so be generous please!
Read more at https://github.com/kataras/iris/blob/master/HISTORY.md
Former-commit-id: eec2d71bbe011d6b48d2526eb25919e36e5ad94e
2017-06-03 23:22:52 +03:00
Gerasimos Maropoulos
675c0d510c
Update to 4.0.0-alpha.3 - Response Engines, 'inject' the context.JSON/JSONP/Text/Data/Markdown/Render, Read HISTORY.md
...
## 4.0.0-alpha.2 -> 4.0.0-alpha.3
**New**
A **Response Engine** gives you the freedom to create/change the
render/response writer for
- `context.JSON`
- `context.JSONP`
- `context.XML`
- `context.Text`
- `context.Markdown`
- `context.Data`
- `context.Render("my_custom_type",mystructOrData{},
iris.RenderOptions{"gzip":false,"charset":"UTF-8"})`
- `context.MarkdownString`
- `iris.ResponseString(...)`
**Fix**
- https://github.com/kataras/iris/issues/294
**Small changes**
- `iris.Config.Charset`, before alpha.3 was `iris.Config.Rest.Charset` &
`iris.Config.Render.Template.Charset`, but you can override it at
runtime by passinth a map `iris.RenderOptions` on the `context.Render`
call .
- `iris.Config.IsDevelopment` , before alpha.1 was
`iris.Config.Render.Template.IsDevelopment`
**Websockets changes**
No need to import the `github.com/kataras/iris/websocket` to use the
`Connection` iteral, the websocket moved inside `kataras/iris` , now all
exported variables' names have the prefix of `Websocket`, so the old
`websocket.Connection` is now `iris.WebsocketConnection`.
Generally, no other changes on the 'frontend API', for response engines
examples and how you can register your own to add more features on
existing response engines or replace them, look
[here](https://github.com/iris-contrib/response ).
**BAD SIDE**: E-Book is still pointing on the v3 release, but will be
updated soon.
2016-07-18 17:40:42 +03:00
Makis Maropoulos
f841bd4157
https://github.com/kataras/iris/issues/201
2016-06-21 14:18:22 +03:00
Makis Maropoulos
78aa4f7681
Websocket: Add OnError to be able to catch internal errors from the connection
2016-06-18 02:57:18 +03:00
Makis Maropoulos
5d369b7c73
Fix https://github.com/kataras/iris/issues/175
2016-06-17 19:51:17 +03:00
Makis Maropoulos
2942d384c4
Try third to solve https://github.com/kataras/iris/issues/175#issuecomment-226634061
2016-06-17 01:44:16 +03:00
Makis Maropoulos
8cddc68993
Fix https://github.com/kataras/iris/issues/175#issuecomment-226290922
2016-06-16 00:13:56 +03:00
Makis Maropoulos
54348e9cc5
Fix https://github.com/kataras/iris/issues/161
2016-05-31 13:50:53 +03:00
Makis Maropoulos
c26668a489
Version 3.0.0-beta cleaned
2016-05-30 17:08:09 +03:00