The service also includes a service info helper class that
can wrap requests and extract execution context of request.
This includes the vagrant service endpoint for connecting
a client back to the service and the scope of the request.
It also provides a helper for creating and reusing clients.
14 lines
394 B
Ruby
14 lines
394 B
Ruby
module VagrantPlugins
|
|
module CommandServe
|
|
module Client
|
|
# Simple alias
|
|
SDK = Service::SDK
|
|
SRV = Service::SRV
|
|
ServiceInfo = Service::ServiceInfo
|
|
|
|
autoload :Machine, Vagrant.source_root.join("plugins/commands/serve/client/machine").to_s
|
|
autoload :Terminal, Vagrant.source_root.join("plugins/commands/serve/client/terminal_client").to_s
|
|
end
|
|
end
|
|
end
|