Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4708 Lượt xem

Hello,

I need to send a message to the web client and wait for response in middle of a workflow action. Could It be possible?

context: I developed a fiscal printer driver in client side using javascript. To validate an invoice, I need to print the ticket and wait for the printer response to confirm the invoice. How could I do that? I try to use the web controller, but I can't image how to use it to send a request and wait for a response. The client can use the EventSource object to wait for requests, but I don't know how to control this from the server side.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất




Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 8 25
430
2
thg 7 25
608
1
thg 7 25
553
2
thg 7 25
578
1
thg 6 25
593