Class SendByteResponse

java.lang.Object
africa.sendbyte.http.SendByteResponse

public final class SendByteResponse extends Object
A minimal, transport-agnostic view of an HTTP response from the SendByte API.

Internal SDK type.

  • Constructor Details

  • Method Details

    • statusCode

      public int statusCode()
    • body

      public String body()
    • header

      public String header(String name)
      Case-insensitive header lookup; returns null when absent.
    • isSuccessful

      public boolean isSuccessful()