add request method

Add request method for nats-client.