Interface SessionService.WithRawResponse
-
- All Implemented Interfaces:
public interface SessionService.WithRawResponse
A view of SessionService that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description abstract SessionService.WithRawResponse
withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied. HttpResponseFor<SessionCreateResponse>
create()
Returns a raw HTTP response for post /realtime/sessions
, but is otherwise the same as SessionService.create.abstract HttpResponseFor<SessionCreateResponse>
create(SessionCreateParams params, RequestOptions requestOptions)
HttpResponseFor<SessionCreateResponse>
create(SessionCreateParams params)
HttpResponseFor<SessionCreateResponse>
create(RequestOptions requestOptions)
-
-
Method Detail
-
withOptions
abstract SessionService.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
@MustBeClosed() HttpResponseFor<SessionCreateResponse> create()
Returns a raw HTTP response for
post /realtime/sessions
, but is otherwise the same as SessionService.create.
-
create
@MustBeClosed() abstract HttpResponseFor<SessionCreateResponse> create(SessionCreateParams params, RequestOptions requestOptions)
-
create
@MustBeClosed() HttpResponseFor<SessionCreateResponse> create(SessionCreateParams params)
-
create
@MustBeClosed() HttpResponseFor<SessionCreateResponse> create(RequestOptions requestOptions)
-
-
-
-