question

lancewu avatar image
0 Likes"
lancewu asked Jason Lightfoot commented

The problem of webserver

I am exploring how other systems can connect to flexsim, so I am studying the principle of flexsim webserver. As shown in the figure, I found that flexsimserverexe should have created a server for connecting to web browsers.

1. I have a question about how web browser queries are passed to Flexsim, how is the connection between flexsimserverexe and Flexsim done, and what is the principle behind its implementation?屏幕截图-2023-12-11-170233.png

2. I found HTTP and websocket responses under the MAIN:/project/exec/global/serverinterface/queryhandlers node. Can I create my own HTTP client to request it without using a webserver? What do I need to do?

屏幕截图-2023-12-11-170925.png

FlexSim 22.1.4
flexsim webserver
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·

Hi @lancewu, was Jason Lightfoot's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot edited

You can find HTTP.method, request and response methods document in the manual. They can be used to communicate with other web services.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.