moved client parameter from server to client

Fixed an issue with the documentation.