Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.
```