From ef96793d3fe2f78d5d50d01bb0077488858ee3a8 Mon Sep 17 00:00:00 2001 From: Simon Mo Date: Tue, 20 Oct 2020 10:41:30 -0700 Subject: [PATCH] [Serve] [Doc] Clarify custom method call (#11485) --- doc/source/serve/faq.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/source/serve/faq.rst b/doc/source/serve/faq.rst index 290fb0c38..212c34f48 100644 --- a/doc/source/serve/faq.rst +++ b/doc/source/serve/faq.rst @@ -47,8 +47,8 @@ endpoint. This returns a Ray ObjectRef whose result can be waited for or retriev ray.get(handle.remote(request)) -How do I call a method on my backend class besides __call__? -------------------------------------------------------------- +How do I call a method on my replica besides __call__? +------------------------------------------------------ To call a method via HTTP use the header field ``X-SERVE-CALL-METHOD``. @@ -67,9 +67,12 @@ To call a method via Python, use :mod:`handle.options