Documentation ¶
Overview ¶
Package xpc contains a connection stuct and the codec for the xpc protocol. The xpc protocol is used to communicate with services on iOS17+ devices.
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Connection ¶ added in v1.0.122
type Connection struct {
// contains filtered or unexported fields
}
Connection represents a http2 based connection to an XPC service on an iOS17 device.
func New ¶ added in v1.0.122
func New(clientServer io.ReadWriter, serverClient io.ReadWriter, closer io.Closer) (*Connection, error)
New creates a new connection to an XPC service on an iOS17 device.
func (*Connection) Close ¶ added in v1.0.122
func (c *Connection) Close() error
func (*Connection) ReceiveOnClientServerStream ¶ added in v1.0.122
func (c *Connection) ReceiveOnClientServerStream() (map[string]interface{}, error)
func (*Connection) ReceiveOnServerClientStream ¶ added in v1.0.122
func (c *Connection) ReceiveOnServerClientStream() (map[string]interface{}, error)
type FileTransfer ¶ added in v1.0.122
type Message ¶
func DecodeMessage ¶
DecodeMessage expects a full RemoteXPC message and decodes the message body into a map
func (Message) IsFileOpen ¶ added in v1.0.122
Click to show internal directories.
Click to hide internal directories.