What's the usage of `pages` folder in the `with-message example? And how can I test relay messaging?
I had tried the
with-message
example for server days but no good result on relay messaging. Found that there is Next.js and a special address localhost:1947
, I guess it maybe a bad example? Maybe I misunderstand the meaning of this part of docs, Relay Flow,Website,CS/BGSW,Yes,No
.6 Replies
I noticed that two days before. And without any obvious entry(like popup or options pages), I can also input the address on chrome manually. Then everything about relay-message is OK.
![](https://cdn.answeroverflow.com/1118020221316374648/image.png)
But, is that what the docs and the example mean, relay is only useful when someone has his own website and want the website interact with his ext?
@miao miao has reached level 1. GG!
When used in ext internally, just direct send and port is all we need?
that's somewhat it yeah. The relay API has other use, but one of the main use case is communicate with target websites
OK, thanks~