词汇:socket

n. 插座;窝,穴;牙糟

相关场景

And that is basically it. Now if I go over here and I add a comment to one of these, you see the comment was added on the left immediately at the same time. That's all web sockets automatically happening through action cable. And we can do it , of course the other way as well.
>> Rails 8.0.1 You are in good company
So if we scroll down to the bottom here, we are ready. The first thing we're gonna do, we're gonna add a turbo stream from post to the show files to the show template.That's gonna set up the web socket connection and subscribe us to a channel named after that particular post that's pasted in.
>> Rails 8.0.1 You are in good company
Now, let's set things up to be dynamic, such that when we add a new comment to one of these, it's going to update the other as well. This is how we use web sockets in Rails using action cable, one of the frameworks that we have to create updates that are distributed automatically without folks having to reload their browser.
>> Rails 8.0.1 You are in good company
- The phone was there on the desk, and the light bulb was in the socket.
>> Pearl Harbor: Into The Arizona 珍珠港:亚利桑那号探秘(2016) Movie Script
A CHROME SKELETON with HYDRAULIC MUSCLES and TENDONS OF FLEXIBLE CABLE. In the sockets of the metal skull, the eyeball swivels with a WHIR of tiny servos, both glowing red now.
>> 终结者The Terminator Movie Script
A turn of his head brings the balefully glowing left eye in its metal socket into view.
>> 终结者The Terminator Movie Script
Revealing the faintly glowing lens mechanism, suspended in a chrome socket by tiny servos.
>> 终结者The Terminator Movie Script