HttpServer

public protocol HttpServer : Peripheral

HTTP server peripheral interface.

This peripheral provides information upon the remote device’s HTTP server, if it is available.

This peripheral can be retrieved by:

device.getPeripheral(Peripherals.httpServer)
  • Base URL to use to connect with the remote device’s HTTP server.

    Declaration

    Swift

    var baseUrl: URL { get }