Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mqttjs 访问asrnetcore 的MQTTNet 服务 #1

Open
masterchen opened this issue Mar 9, 2019 · 1 comment
Open

mqttjs 访问asrnetcore 的MQTTNet 服务 #1

masterchen opened this issue Mar 9, 2019 · 1 comment

Comments

@masterchen
Copy link

masterchen commented Mar 9, 2019

你好, 我是想用MQTTNet 做服务端,用mqttjs 来作为客户端(比方说直接用html文件写js)访问服务端一直没有成功。我有如下疑问麻烦解答一下:
如果是aspnetcore 里边起MQTTNet服务,我想直接通过一个采用mqttjs库的网页来访问 ,MQTTNet 的服务是如何被暴漏出来的?是不是不能访问? 或者存在跨域的问题? 能否给一个例子
另外,你例子那个apiServer也运行不起来。

@axinno1
Copy link

axinno1 commented Aug 14, 2020

我也遇到同样的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants