Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abap2ui5-addons/websocket
Websocket for abap2UI5
https://github.com/abap2ui5-addons/websocket
abap abap2ui5 abapgit fiori open-source openui5 sapui5 ui5
Last synced: 6 days ago
JSON representation
Websocket for abap2UI5
- Host: GitHub
- URL: https://github.com/abap2ui5-addons/websocket
- Owner: abap2UI5-addons
- License: mit
- Created: 2024-08-27T15:02:24.000Z (5 months ago)
- Default Branch: classic
- Last Pushed: 2024-10-15T17:45:17.000Z (3 months ago)
- Last Synced: 2025-01-15T01:25:46.086Z (8 days ago)
- Topics: abap, abap2ui5, abapgit, fiori, open-source, openui5, sapui5, ui5
- Language: ABAP
- Homepage:
- Size: 65.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Websocket Feature
Work in progress... 🚧 🏗️ 🦺
### Installation
Install with **[abapGit](https://abapgit.org/)** and extend your HTTP handler with:
```abap
METHOD if_http_extension~handle_request.DATA(response) = z2ui5_cl_http_handler=>main(
body = server->request->get_cdata( )
config = VALUE #( custom_js = z2ui5add_cl_cc_websocket=>get_js( ) )
).
server->response->set_cdata( response ).
server->response->set_header_field( name = `cache-control` value = `no-cache` ).
server->response->set_status( code = 200 reason = `success` ).ENDMETHOD.
```