Remote Debugging Protocol: Difference between revisions

Line 75: Line 75:
Clients should send "list-contexts" requests only to root actors that have identified themselves as browsers.
Clients should send "list-contexts" requests only to root actors that have identified themselves as browsers.


Actor names given in a list-contexts reply are valid until the next list-contexts request is received, unless the client attaches to them. An attached context actor name is valid until the client detaches from the context and receives a "detached" packet from the context, or until the client receives an "exited" packet from the context. See "Interacting with Thread-Like Actors" for details.
Actor names given in a list-contexts reply have the root actor as their parent. They remain valid at least until the next list-contexts request is received. If the client attaches to a context actor, its name is valid until the client detaches from the context and receives a "detached" packet from the context, or until the client receives an "exited" packet from the context. See "Interacting with Thread-Like Actors" for details.  


For example, upon connection to a web browser visiting two pages at example.com, the root actor's introductory packet might look like this:
For example, upon connection to a web browser visiting two pages at example.com, the root actor's introductory packet might look like this:
Confirmed users
496

edits