Class WebhookReceiver

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final <Error class: unknown class> receive(String body, String authHeader, Boolean skipAuth) Validates a webhook message and converts it to a LivekitWebhook.
      final <Error class: unknown class> receive(String body, String authHeader) Validates a webhook message and converts it to a LivekitWebhook.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WebhookReceiver

        WebhookReceiver(String apiKey, String secret)
    • Method Detail

      • receive

        @JvmOverloads() final <Error class: unknown class> receive(String body, String authHeader, Boolean skipAuth)

        Validates a webhook message and converts it to a LivekitWebhook.WebhookEvent object.

      • receive

        @JvmOverloads() final <Error class: unknown class> receive(String body, String authHeader)

        Validates a webhook message and converts it to a LivekitWebhook.WebhookEvent object.