Skip to content

Commit

Permalink
Update ServerConfig's payload to SetupPayload type
Browse files Browse the repository at this point in the history
Signed-off-by: linux_china <[email protected]>
  • Loading branch information
linux-china committed Nov 26, 2021
1 parent a29d6d9 commit 1caf520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rsocket-core/src/RSocketServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export interface TransportServer {
export type ServerConfig<D, M> = {|
getRequestHandler: (
socket: ReactiveSocket<D, M>,
payload: Payload<D, M>,
payload: SetupPayload<D, M>,
) => PartialResponder<D, M>,
serializers?: PayloadSerializers<D, M>,
transport: TransportServer,
Expand Down

0 comments on commit 1caf520

Please sign in to comment.