Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for csv (0.11 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/internal/http2/Http2FlowControlConnectionListener.kt

     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    import okhttp3.ConnectionListener
    import okhttp3.internal.http2.flowcontrol.WindowCounter
    
    /**
     * ConnectionListener that outputs CSV for flow control of client receiving streams.
     */
    class Http2FlowControlConnectionListener : ConnectionListener(), FlowControlListener {
      val start = System.currentTimeMillis()
    
      override fun receivingStreamWindowChanged(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  2. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Iana.kt

    import okio.IOException
    
    /** Example: "0x00,0x08",TLS_RSA_EXPORT_WITH_DES40_CBC_SHA,Y,N,[RFC4346] */
    val IANA_CSV_PATTERN = "\"0x(\\w\\w),0x(\\w\\w)\",(\\w+).*".toRegex()
    
    fun parseIanaCsvRow(s: String): SuiteId? {
      if (s.contains("Reserved") || s.contains("Unassigned")) return null
      val matcher = IANA_CSV_PATTERN.matchEntire(s) ?: return null
      val id = (matcher.groupValues[1] + matcher.groupValues[2]).decodeHex()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:24:38 GMT 2024
    - 2K bytes
    - Viewed (0)
Back to top