Home
last modified time | relevance | path

Searched refs:responseBody (Results 1 – 12 of 12) sorted by relevance

/expo/android/expoview/src/main/java/host/exp/exponent/network/
H A DOkHttpV1ExpoResponse.kt10 internal inner class OkHttpV1ExpoBody(private val responseBody: ResponseBody) : ExpoBody { constant in host.exp.exponent.network.OkHttpV1ExpoResponse.OkHttpV1ExpoBody
12 override fun string(): String = responseBody.string() in string()
14 override fun byteStream(): InputStream = responseBody.byteStream() in string()
17 override fun bytes(): ByteArray = responseBody.bytes() in string()
/expo/packages/expo-modules-core/ios/Swift/DevTools/
H A DExpoRequestInterceptorProtocol.swift18 private let responseBody = NSMutableData() variable
83 if responseBody.length + data.count <= Self.MAX_BODY_SIZE { in urlSession()
84 responseBody.append(data) in urlSession()
103 …requestId: requestId, task: task, responseBody: responseBody as Data, isText: isText, responseBody… in urlSession()
169 …func didReceiveResponse(requestId: String, task: URLSessionTask, responseBody: Data, isText: Bool,…
H A DExpoRequestCdpInterceptor.swift52 …func didReceiveResponse(requestId: String, task: URLSessionTask, responseBody: Data, isText: Bool,… in didReceiveResponse()
67 …ExpoReceivedResponseBodyParams(now: now, requestId: requestId, responseBody: responseBody, isText:… in didReceiveResponse()
H A DCdpNetworkTypes.swift157 init(now: TimeInterval, requestId: RequestId, responseBody: Data, isText: Bool) {
159 …let bodyString = isText ? String(data: responseBody, encoding: .utf8) : responseBody.base64Encoded…
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/DevTools/
H A DExpoRequestInterceptorProtocol.swift18 private let responseBody = NSMutableData() variable
83 if responseBody.length + data.count <= Self.MAX_BODY_SIZE { in urlSession()
84 responseBody.append(data) in urlSession()
103 …requestId: requestId, task: task, responseBody: responseBody as Data, isText: isText, responseBody… in urlSession()
169 …func didReceiveResponse(requestId: String, task: URLSessionTask, responseBody: Data, isText: Bool,…
H A DExpoRequestCdpInterceptor.swift52 …func didReceiveResponse(requestId: String, task: URLSessionTask, responseBody: Data, isText: Bool,… in didReceiveResponse()
67 …ExpoReceivedResponseBodyParams(now: now, requestId: requestId, responseBody: responseBody, isText:… in didReceiveResponse()
H A DCdpNetworkTypes.swift157 init(now: TimeInterval, requestId: RequestId, responseBody: Data, isText: Bool) {
159 …let bodyString = isText ? String(data: responseBody, encoding: .utf8) : responseBody.base64Encoded…
/expo/packages/expo-updates/android/src/main/java/expo/modules/updates/loader/
H A DFileDownloader.kt110 val responseBody = response.body in <lambda>() constant
112 if (response.code == 204 || responseBody == null) { in <lambda>()
149 …parseMultipartRemoteUpdateResponse(responseBody, responseHeaderData, boundaryParameter, configurat… in <lambda>()
198 …private fun parseMultipartRemoteUpdateResponse(responseBody: ResponseBody, responseHeaderData: Res… in <lambda>()
204 val multipartStream = MultipartStream(responseBody.byteStream(), boundary.toByteArray()) in <lambda>()
/expo/packages/expo-file-system/android/src/main/java/expo/modules/filesystem/
H A DFileSystemModule.kt908 val responseBody = response.body in <lambda>() constant
909 val input = BufferedInputStream(responseBody!!.byteStream()) in <lambda>()
940 …private class ProgressResponseBody constructor(private val responseBody: ResponseBody?, private va… constant in expo.modules.filesystem.ProgressResponseBody
943 override fun contentType(): MediaType? = responseBody?.contentType() in contentType()
945 override fun contentLength(): Long = responseBody?.contentLength() ?: -1 in contentType()
948 bufferedSource ?: source(responseBody!!.source()).buffer() in contentType()
961 responseBody?.contentLength() in contentType()
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/filesystem/
H A DFileSystemModule.kt908 val responseBody = response.body in <lambda>() constant
909 val input = BufferedInputStream(responseBody!!.byteStream()) in <lambda>()
940 …private class ProgressResponseBody constructor(private val responseBody: ResponseBody?, private va… constant in abi49_0_0.expo.modules.filesystem.ProgressResponseBody
943 override fun contentType(): MediaType? = responseBody?.contentType() in contentType()
945 override fun contentLength(): Long = responseBody?.contentLength() ?: -1 in contentType()
948 bufferedSource ?: source(responseBody!!.source()).buffer() in contentType()
961 responseBody?.contentLength() in contentType()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/filesystem/
H A DFileSystemModule.kt1110 val responseBody = response.body in onNewIntent() constant
1111 val input = BufferedInputStream(responseBody!!.byteStream()) in onNewIntent()
1143 …private class ProgressResponseBody internal constructor(private val responseBody: ResponseBody?, p… constant in ProgressResponseBody
1146 override fun contentType(): MediaType? = responseBody?.contentType() in contentType()
1148 override fun contentLength(): Long = responseBody?.contentLength() ?: -1 in contentType()
1151 bufferedSource ?: source(responseBody!!.source()).buffer() in contentType()
1164 responseBody?.contentLength() in contentType()
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/filesystem/
H A DFileSystemModule.kt1110 val responseBody = response.body in onNewIntent() constant
1111 val input = BufferedInputStream(responseBody!!.byteStream()) in onNewIntent()
1143 …private class ProgressResponseBody internal constructor(private val responseBody: ResponseBody?, p… constant in ProgressResponseBody
1146 override fun contentType(): MediaType? = responseBody?.contentType() in contentType()
1148 override fun contentLength(): Long = responseBody?.contentLength() ?: -1 in contentType()
1151 bufferedSource ?: source(responseBody!!.source()).buffer() in contentType()
1164 responseBody?.contentLength() in contentType()