Stanislav Semenov
d297dafd46
Update webhook_example.py
2020-05-31 22:23:40 +03:00
Stanislav Semenov
e088a27b56
Refact and add ssl context
...
Current version didnt work from box.
My commit include:
refact settings:
- add ssl settings
- add webhook_port to webhook_url
- refact webserversettings
refact on_startup:
- add logging info on startup
- add check for bad webhook url
- add ssl sert to set_webhook
__main__:
- add generate ssl context
- add ssl context in start_webhook
2020-05-31 20:50:18 +03:00
Suren Khorenyan
58a5da925a
Refactor examples/webhook_example.py
2019-08-11 22:52:54 +03:00
Suren Khorenyan
251760a032
Rename webhook example
2019-08-11 22:51:50 +03:00
Suren Khorenyan
fdf3c44860
Rename old webhook example
2019-08-11 22:50:58 +03:00
SetazeR
1ea76cd902
remove unnecessary loop definitions
2019-07-15 14:00:38 +07:00
Nikita
088116e1c7
Reformat code
2019-03-24 00:15:09 +05:00
Alex Root Junior
9f13e11e6b
Bump examples, docs and executor (nothing)
2018-10-28 19:35:06 +02:00
Alex Root Junior
b16963d4a9
Make single elements ContentType object and ContentTypes class for listed elements
2018-08-13 23:53:37 +03:00
Olegt0rr
7b71a72bde
Split WEBHOOK and WEBAPP settings
2018-03-18 14:41:34 +03:00
Suren Khorenyan
f9c44bb2d7
Minor typos fixes in examples
2018-02-21 19:09:44 +03:00
Suren Khorenyan
70fb332fd3
Minor refactoring:
...
- removed remaining assertions
- quotes replaced with double quotes in f-strings
2018-02-12 22:06:05 +03:00
Alex Root Junior
17871155ee
FSM storage closing now is async
2017-10-18 22:32:21 +03:00
Alex Root Junior
f42f4d0c9c
Webhook example.
2017-08-15 00:08:56 +03:00