Squid

public struct Squid

This struct simply provides a scope for global “utility” structures that need to be accessible publicly.

  • This enum is used for all errors that are generated by this library. Any external errors are wrapped as unknown errors.

    See more

    Declaration

    Swift

    public enum Error : Swift.Error
  • By default, the logger logs all requests and their responses to the command line. However, logging is only enabled in debug mode - in release compiles, the code for logging is not even included in the binary. It is also possible to prevent any log statements in debug mode by using the silence method.

    See more

    Declaration

    Swift

    public struct Logger