code: func NewClient(config Config) *Client {
  	userAgent := fmt.Sprintf("%s/%s (%s; %s %s)",
  		config.AppName,
  		config.AppVersion,
  		runtime.Version(),
  		runtime.GOARCH,
  		runtime.GOOS,
  	)
  
  	client := Client{
  		userAgent:  userAgent,
  		router:     rata.NewRequestGenerator(config.RoutingEndpoint, internal.APIRoutes),
  		connection: NewConnection(config.ConnectionConfig),
  	}
  
  	for _, wrapper := range config.Wrappers {
  		client.connection = wrapper.Wrap(client.connection)
  	}
  
  	return &client
  }
docs: // NewClient returns a new Router Client.