API docs for client option

See pull request #1296